Advanced search  

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

Pages: [1]   Go Down

Author Topic: install  (Read 2736 times)

0 Members and 1 Guest are viewing this topic.

alsaher

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
install
« 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
Logged

Nibbler

  • Guest
install
« Reply #1 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
Logged

alsaher

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
install
« Reply #2 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
install
« Reply #3 on: April 08, 2004, 05:29:49 am »

remove the $ in front of define...

GauGau
Logged

alsaher

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
install
« Reply #4 on: April 08, 2004, 12:44:48 pm »

it's  the  saim  msg
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.