forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: alsaher on April 07, 2004, 02:07:54 pm
-
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
-
That means your server is running in safe mode.
Try adding:
define('SILLY_SAFE_MODE', 1);
into your include/config.inc.php
-
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'] = "localhost"; // Your databaseserver
$CONFIG['dbuser'] = "xxxxxxx"; // Your mysql username
$CONFIG['dbpass'] = "xxxx"; // Your mysql password
$CONFIG['dbname'] = "xxxxxx"; // Your mysql database name
// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = "cpg11d_";
$define('SILLY_SAFE_MODE', 1);
?>
it's writ or rong
-
remove the $ in front of define...
GauGau
-
it's the saim msg