PDA

View Full Version : Installed and now have dir problem


agiacosa
12-28-2004, 08:52 PM
Warning: chdir(): No such file or directory (errno 2) in /home/aquaticp/public_html/aquaticp/forumapc/cmps_index.php on line 21

I ran the info.php and that's what I got. Any thoughts?

Tom M
12-28-2004, 08:58 PM
Remove the '/cmps_index.php' and see if that fixes thing. The string should point to the directory with the forums.

Our Sponsors
 

agiacosa
12-28-2004, 09:14 PM
It does. It ends with /forumapc. It is the error message that includes the file name.

Brian
12-28-2004, 10:08 PM
Did you check the FAQ forum?

Our Sponsors
 

Agent dub
12-29-2004, 12:42 AM
mmm...I feel like a noob, but I'm having the same problem. I did the info.php and copied the path as follows:

chdir('./hsphere/local/home/masonvis/disc-magnet.com/agent');

I get an error like so:

Warning: chdir(): No such file or directory (errno 2) in /hsphere/local/home3/masonvis/disc-magnet.com/agent/cmps_index.php on line 21

Unable to add cookies, header already sent.
File: /hsphere/local/home3/masonvis/disc-magnet.com/agent/cmps_index.php
Line: 21

I'm really at a loss here. I have tried alot of variations of the path with no sucsess. I have had vbull up and running for a while and have installed other more complicated hacks before. I just dont understand why it doesnt what to reconize the path. :confused:

Is the answer right under my nose, or is my host the problem, or could of I done somthing else wrong? It seemed like the installation up to that point went pretty smooth. Please help ;)

Agent dub
12-29-2004, 12:58 AM
Just doubled checked with my host that the path is indeed /hsphere/local/home/masonvis/disc-magnet.com . Am I just out of luck with this mod?

agiacosa
12-29-2004, 06:54 AM
Yes, I did check the FAQ forum.

agiacosa
12-29-2004, 07:08 AM
I corrected this problem by moving files so that cmps_index and index are in the forum root and remmed out the chdir line.

Brian
12-29-2004, 09:42 AM
chdir('./hsphere/local/home/masonvis/disc-magnet.com/agent');

Should be:

chdir('/hsphere/local/home/masonvis/disc-magnet.com/agent');

Agent dub
12-29-2004, 11:11 AM
That did it! LOL stupid period. :D Thanks for this kick ass mod. I will be forking out the dough for the other addons you have listed as well.

Thanks again for the fast tech support!



chdir('./hsphere/local/home/masonvis/disc-magnet.com/agent');

Should be:

chdir('/hsphere/local/home/masonvis/disc-magnet.com/agent');