PDA

View Full Version : Getting error... lost


JeremyE
06-09-2004, 07:59 PM
In had vba installed, decided on cmps, so installed cmps, then uninstalled vba.. now, when you visit the main page, i get this error.. (please help !):
Warning: chdir(): No such file or directory (errno 2) in /home/*HIDDEN*/public_html/mx/index.php on line 19

Warning: main(./global.php): failed to open stream: No such file or directory in /home/*HIDDEN*/public_html/mx/index.php on line 25

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*HIDDEN*/public_html/mx/index.php on line 25

Brian
06-09-2004, 09:19 PM
That means that the path to your forums is set incorrectly. If you still have your copy of vBa Homepage, just copy the chdir line from there and past it into the CMPS index file. If not, please check the FAQ section of the readme file.

Our Sponsors
 

JeremyE
06-10-2004, 07:57 AM
That sounds logical... I will try that later today... didnt think of that.. <-- not the brightest crayon in the box! ;)

JeremyE
06-10-2004, 01:59 PM
Ok.. this is my CMPS_index.php:

// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================

chdir('./home/tsfbaco/public_html/mxforums');

// ============================================
// No Further Editing Necessary!
// ============================================

require_once('./global.php');

print_portal_output($home);

?>
I did the info.php to make sure that this was the correct path. but i still get this:
Warning: chdir(): No such file or directory (errno 2) in /home/tsfbaco/public_html/mx/index.php on line 19

Warning: main(./global.php): failed to open stream: No such file or directory in /home/tsfbaco/public_html/mx/index.php on line 25

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tsfbaco/public_html/mx/index.php on line 25


:confused: :confused:

Our Sponsors
 

ogetbilo
06-10-2004, 02:56 PM
is the forum path
/home/tsfbaco/public_html/mxforums
or
/home/tsfbaco/public_html/mx
?
make sure you have this correctly.

also remove the dot at the begginning of
chdir('./home/tsfbaco/public_html/mxforums');
after the above correction

JeremyE
06-10-2004, 03:28 PM
the path is actually "/home/tsfbaco/public_html/mxforums"

but its not changing when i re-upload the file for some reason. it goes back to "/home/tsfbaco/public_html/mx" but if i download the index.phpthat i uploaded, its all correct.

i will also remove the dot, but i need to figure out why it reverts to the incorrect path but not saved that way in index.php.. ?

JeremyE
06-10-2004, 06:53 PM
Thanks!!! solved problem... :) Beers all around! :)