install install
 

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

install

Started by alsaher, April 07, 2004, 02:07:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alsaher

hi

i have  cpg1.2.1   when  i try  to install  it  this  msg  come  to  me  

///////
Warning: main(): SAFE MODE Restriction in effect. The script whose uid is 0 is not allowed to access ./include/sql_parse.php owned by uid 32007 in /home/alsaher/public_html/photo/install.php on line 21

Warning: main(include/sql_parse.php): failed to open stream: Permission denied in /home/alsaher/public_html/photo/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/alsaher/public_html/photo/install.php on line 21

////////


how  can  i  fix  it

Nibbler

That means your server is running in safe mode.


Try adding:


define('SILLY_SAFE_MODE', 1);


into your include/config.inc.php

alsaher

thanks
i but  the  code  but  the saim problem

the include/config.inc.php  is  like  this


<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'&#93; =                         "localhost";        // Your databaseserver
$CONFIG['dbuser'&#93; =                         "xxxxxxx";        // Your mysql username
$CONFIG['dbpass'&#93; =                         "xxxx";                // Your mysql password
$CONFIG['dbname'&#93; =                         "xxxxxx";        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'&#93; =                "cpg11d_";
$define&#40;'SILLY_SAFE_MODE', 1&#41;;
?>



it's  writ  or  rong

Joachim Müller

remove the $ in front of define...

GauGau

alsaher

it's  the  saim  msg