Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Empty page  (Read 7355 times)

0 Members and 1 Guest are viewing this topic.

abbood

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Empty page
« on: April 21, 2006, 06:36:49 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Empty page
« Reply #1 on: April 21, 2006, 06:38:02 pm »

Fix your include path
Logged

abbood

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Empty page
« Reply #2 on: April 21, 2006, 06:39:59 pm »

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

Nibbler

  • Guest
Re: Empty page
« Reply #3 on: April 21, 2006, 08:20:18 pm »

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

abbood

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Empty page
« Reply #4 on: April 21, 2006, 09:24:09 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
Logged

Nibbler

  • Guest
Re: Empty page
« Reply #5 on: April 21, 2006, 09:41:08 pm »

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

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Empty page
« Reply #6 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.
Logged
Chief Geek at Ranium Systems

BlackChart

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Empty page
« Reply #7 on: April 22, 2006, 04:36:00 pm »

...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
Logged

Nibbler

  • Guest
Re: Empty page
« Reply #8 on: April 22, 2006, 04:37:18 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Empty page
« Reply #9 on: April 24, 2006, 03:23:57 pm »

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]
« Last Edit: May 11, 2006, 09:02:08 am by GauGau »
Logged

ozymandias

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Empty page
« Reply #10 on: May 11, 2006, 06:40:35 am »

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.   
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Empty page
« Reply #11 on: May 11, 2006, 07:15:22 am »

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

ozymandias

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Empty page
« Reply #12 on: May 12, 2006, 02:02:37 pm »

Ummmm....no.  But man I hate rookies don't you?
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 15 queries.