coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: Wardal on September 12, 2007, 06:30:38 PM

Title: All blank pages.. (error inside)
Post by: Wardal on September 12, 2007, 06:30:38 PM
Hi people, i have problems after install gallery. There all pages blank(index, login and so on)
There my log..
PHP Warning:  main(include/debugger.inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /var/www/hosting/xxxx/html/gallery/include/init.inc.php on line 26

PHP Fatal error:  main() [<a href='function.require'>function.require</a>]: Failed opening required 'include/debugger.inc.php' (include_path='pear') in /var/www/hosting/xxxx/html/gallery/include/init.inc.php on line 26

(13)Permission denied: cannot read directory for multi: /var/www/hosting/xxxx/html/

Please help me... Thanks a lot.
Title: Re: All blank pages.. (error inside)
Post by: Sami on September 12, 2007, 07:49:11 PM
Upload debugger.inc.php to include folder
Title: Re: All blank pages.. (error inside)
Post by: Nibbler on September 12, 2007, 07:54:34 PM
You need to fix your include path. Must contain a dot. Search the board for details if you can fix that yourself, ask your host otherwise.
Title: Re: All blank pages.. (error inside)
Post by: Wardal on September 12, 2007, 11:12:01 PM
I dont understand about dot, tell me more pls
And, one more question, how do you think, maybe i have this problems because:

PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 933888 bytes) in /var/www/hosting/xxxx/html/forum/includes/utf/data/confusables.php on line 1
but this error show my forum, but when he want use a lot of memory, and he cant, some pages also blank..
Title: Re: All blank pages.. (error inside)
Post by: Nibbler on September 13, 2007, 09:21:03 AM
Then you need to go for the 'ask your host otherwise' option. Don't ask unrelated questions about other people's software.
Title: Re: All blank pages.. (error inside)
Post by: Wardal on September 19, 2007, 05:40:16 PM
Sorry, problem not in my host, please look:

PHP Warning:  fopen() expects at least 2 parameters, 1 given in /var/www/hosting/xxx/html/gallery/install.php on line 565, referer: http://www.dozor-kr.dp.ua/gallery/install.php
PHP Warning:  fpassthru(): supplied argument is not a valid stream resource in /var/www/hosting/xxx/html/gallery/install.php on line 565, referer: http://www.dozor-kr.dp.ua/gallery/install.php

Title: Re: All blank pages.. (error inside)
Post by: Nibbler on September 19, 2007, 05:50:24 PM
That is not related to your issue.
Title: Re: All blank pages.. (error inside)
Post by: lhale on September 20, 2007, 02:37:54 AM
I've a simlar error after installing pnCPG 4.01 via .\pnuke\modules\pnCPG\pndocs\easy_readme.txt, which references .\pnuke\modules\pnCPG\pndocs\AdminSettings.txt (I had previously ran the standalone Coppermine admin stuff per the admin instructions found there). I have constructed my subdirectory hierarchy per the item#2 pnCPG instructions:
-pnuke      (root www directory - Where PostNuke is installed)
|-Modules    (PostNuke's /modules subdirectory)
|--pnCPG   (the pnCPG PostNuke module)
|-Coppermine   (the standalone Coppermine gallery)

If I jump into the admin panel, I get the same exact PHP error message as this original poster:
"
[19-Sep-2007 15:18:29] PHP Warning:  main(include/init.inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in C:\Applications\Apache\Apache2\us4earth\html\pnuke\modules\pnCPG\index_pn.php on line 68

[19-Sep-2007 15:18:29] PHP Fatal error:  main() [<a href='function.require'>function.require</a>]: Failed opening required 'include/init.inc.php' (include_path='.;C:\php5\pear') in C:\Applications\Apache\Apache2\us4earth\html\pnuke\modules\pnCPG\index_pn.php on line 68
"
If I copy this include from my standalone Coppermine to ...\pnCPG\include then when running pnCPG module it will complain about another missing include (include/debugger.inc.php) and another and another until I copy the whole include from Coppermine to pnCPG/include. Since there's absolutely nothing in any doc that says you need to do this, I know I'm screwed big time, and sure enough, I'll get a blank looking page that actually has the following in it (SSI?):
"
<script language='javascript' type='text/javascript'>function iFrameHeight() {  var h = 0;   if ( !document.all ) {      h = document.getElementById('blockrandom').contentDocument.height;      document.getElementById('blockrandom').style.height = h + 60 + 'px';   } else if( document.all ) {      h = document.frames('blockrandom').document.body.scrollHeight;      document.all.blockrandom.style.height = h + 20 + 'px';   }}</script><iframe onload='iFrameHeight()' id='blockrandom' name='pnCPG'  src='/pnuke/modules/pnCPG/index_pn.php?parm=Larry|1|0|0|0||http://localhost/pnuke/|english||n|default||n|1|LarryHale@Netzero.net||%26check=811a34101e637131070dec572caf7279' width='100%' height='400' scrolling='auto' align='top' frameborder='0'></iframe>
"
     This script & iframe content is present with or without including the includes it's complaining about.

    SO, my big question of the day is - now WHAT?
Title: Re: All blank pages.. (error inside)
Post by: Joachim Müller on September 20, 2007, 07:53:47 AM
Quote from: lhale on September 20, 2007, 02:37:54 AM
I've a simlar error after installing pnCPG 4.01
You don't have a similar issue, but an entirely different one. Don't try to hijack someone else's thread, but start a thread of your own on the pnCPG sub-board.