Empty page Empty page
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Empty page

Started by abbood, April 21, 2006, 06:36:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

abbood

Hi ,

I just downloaded ur excellent script , When I tried to install it I got this error on several places :

Warning: main(/include/debugger.inc.php): failed to open stream: No such file or directory in /home/mysite/public_html/pix/include/init.inc.php on line 26

Fatal error: main(): Failed opening required '/include/debugger.inc.php' (include_path='/usr/local/lib/php:/usr/lib/php') in /home/mysite/public_html/pix/include/init.inc.php on line 26

I fixed the path (I think) and until the script directed me to the login page which was empty !!

Can you help please.

Thank you for your time and effort

Joachim Müller

Fix your include path

abbood

Thank you for the fast answer I just edited my post can you read it again please

Nibbler

Your include path must include a dot for relative includes to work.

abbood

Quote from: Nibbler on April 21, 2006, 08:20:18 PM
Your include path must include a dot for relative includes to work.

Sorry to be a pain can you explain more ? or give me an example.

Thank you

Nibbler

include_path='.:/usr/local/lib/php:/usr/lib/php'

Abbas Ali

...in php.ini of the server. If you are on shared server then this should be done by your webhost.
Chief Geek at Ranium Systems

BlackChart

Quote from: Abbas Ali on April 22, 2006, 10:08:10 AM
...in php.ini of the server. If you are on shared server then this should be done by your webhost.

A clean script does NOT require any changes to PHP ini, and certainly NOT changes to the include path...

I have the same problem, and getting this change done by my webhost is not an option...

Best regards,
Morten

Nibbler

Not having a dot in the include path is an abnormal, non-default setting. Most scripts require it to include a dot.

Joachim Müller

#9
If your webhost refuses to enable the suggested changes then I recommend finding better webhosting. As Nibbler suggested: not having the dot in the include path will make nearly all advanced pre-made scripts (like coppermine) fail.

[Edit 2006-05-11]
Reason: fixed typo
[/edit]

ozymandias

Hello All,

I get this exact same error with the exception that my include path looks like the following:

Fatal error: main(): Failed opening required '/include/debugger.inc.php' (include_path='/usr/share/php') in /home/mysite/public_html/pix/include/init.inc.php on line 26

So, I did as directed above and made the following changes in php.ini:

; this is the entry in /etc/php.ini
; include_path = "/usr/share/php"
include_path = ".:/usr/share/php:/srv/www/htdocs/cpg145"
;  I even put the path to my directly to the coppermine directory

I still get the same error:  Fatal error: blah, blah, blah... (include_path='/usr/share/php')

I would have expected the include_path to reflect my changes in the php.ini.   Any pointers?

Sorry I'm such a newbie.   

Paver

@ozymandias: Have you restarted your webserver?  PHP.ini settings are loaded upon startup.

ozymandias

Ummmm....no.  But man I hate rookies don't you?