Warning: main(include/sql_parse.php): failed to open stream: Warning: main(include/sql_parse.php): failed to open stream:
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Warning: main(include/sql_parse.php): failed to open stream:

Started by soughtmagic, February 17, 2004, 09:12:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

soughtmagic

Help!
Warning: main(include/sql_parse.php): failed to open stream: No such file or directory in /home/mcharmed/public_html/photos/install.php on line 21

Fatal error: main(): Failed opening required 'include/sql_parse.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mcharmed/public_html/photos/install.php on line 21

What am I supposed to do, I've looked through similiar threads and tried to do what they said but no luck, maybe some one can dumb it down for me?

Joachim Müller

the error says: the install script was looking for a file called "sql_parse.php" in the coppermine subfolder "includes", but it wasn't there.

How to fix:
  • make sure you have actually uploaded the file
  • make sure you have CHMODed the includes folder with 755 (rwxr-xr-x) or 777 (rwxrwxrwx) as stated in the readme
  • check if you have uploaded the file correctly (using the right ftp mode)
  • check if the file has been corrupted - get a fresh coppermine package, unzip it and overwrite the file in question
  • make sure you don't have "funny" server settings for the include path ("include_path='.:/usr/lib/php:/usr/local/lib/php'" seems to be bull)
  • try switching silly_safe_mode on (refer to documentation) and see if this helps
  • post a link to your gallery (even if it doesn't work), along with some additional info on your server (see the faq, last part...)[/list:u]
    GauGau

soughtmagic

Thanks I re-downloaded coppermine, now just waiting for PinchPenny to fix the ImageMagick path.