forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: alsaher on April 07, 2004, 02:07:54 pm

Title: install
Post 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
Title: install
Post by: Nibbler on April 07, 2004, 02:44:21 pm
That means your server is running in safe mode.


Try adding:

Code: [Select]

define('SILLY_SAFE_MODE', 1);


into your include/config.inc.php
Title: install
Post by: alsaher on April 07, 2004, 11:59:43 pm
thanks
i but  the  code  but  the saim problem

the include/config.inc.php  is  like  this
Code: [Select]


<?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
Title: install
Post by: Joachim Müller on April 08, 2004, 05:29:49 am
remove the $ in front of define...

GauGau
Title: install
Post by: alsaher on April 08, 2004, 12:44:48 pm
it's  the  saim  msg