PDA

View Full Version : More "white" index.php page problems, but Browse works, weirdly (see details)


johnpixelpostbklyn
10-04-2007, 10:33 PM
Here's the situation I could use help in diagnosing. I am using PP 1.6 on a local Mac OS X machine (configuration details below).

1) Install went fine
2) Admin works fine. Able to add and delete images, etc. No problem there.
3) index.php?x=browse works fine. I see my thumbnails.
4) The problem: If I click on any of the thumbnails and attempt to view and of the images (index.php?showimage=1), I get a blank page with nothing in the source.
5) Probably related (and I posted this on an earlier thread), none of the addons are being parsed. For instance, inserting <BROWSE_MONTHLY_ARCHIVE_PAGED> into the browse template does not render a pulldown menu. The tag gets written out as is, without any transformation.

My configuration:

URL http://pixelpost.dev/admin/index.php
PHP-version 5.2.4 (Pixelpost's min requirement: PHP version: 4.3.0*)
Session save path /tmp
MySQL version 5.0.21-standard (Pixelpost's min requirement: MySQL: 3.23.58*)
GD-lib bundled (2.0.34 compatible) with JPEG support
File Uploads to Pixelpost site are possible.
Server Software Apache/1.3.33 (Darwin) PHP/5.2.4
EXIF Pixelpost is using exifer v1.5 for EXIF-information.

(Continued on next message...)

johnpixelpostbklyn
10-04-2007, 10:34 PM
(Continued from message #1....)

I checked the error logs and saw the following:

*********************************************
ERRORS WHEN I VIEW index.php?x=browse

[Thu Oct 4 18:25:55 2007] [error] PHP Notice: Undefined index: showimage in /Users/john/Sites/pixelpost/index.php on line 79
[Thu Oct 4 18:25:55 2007] [error] PHP Notice: Undefined index: HTTP_REFERER in /Users/john/Sites/pixelpost/includes/functions.php on line 258
[Thu Oct 4 18:25:55 2007] [error] PHP Notice: Undefined index: host in /Users/john/Sites/pixelpost/includes/functions.php on line 262
[Thu Oct 4 18:25:55 2007] [error] PHP Notice: Undefined index: lang in /Users/john/Sites/pixelpost/index.php on line 162
[Thu Oct 4 18:25:55 2007] [error] PHP Notice: Undefined index: popup in /Users/john/Sites/pixelpost/index.php on line 203
[Thu Oct 4 18:25:55 2007] [error] PHP Notice: Undefined index: category in /Users/john/Sites/pixelpost/includes/functions_browse.php on line 11
[Thu Oct 4 18:25:55 2007] [error] PHP Notice: Undefined variable: HTTP_HOST in /Users/john/Sites/pixelpost/includes/functions_feeds.php on line 319
[Thu Oct 4 18:25:55 2007] [error] PHP Notice: Undefined variable: REQUEST_URI in /Users/john/Sites/pixelpost/includes/functions_feeds.php on line 319
[Thu Oct 4 18:25:55 2007] [error] PHP Notice: Undefined variable: image_comments_number in /Users/john/Sites/pixelpost/index.php on line 733
[Thu Oct 4 18:25:55 2007] [error] PHP Notice: Undefined variable: latest_comment in /Users/john/Sites/pixelpost/index.php on line 734
[Thu Oct 4 18:25:55 2007] [error] PHP Notice: Undefined variable: latest_comment_name in /Users/john/Sites/pixelpost/index.php on line 735
[Thu Oct 4 18:25:55 2007] [error] PHP Notice: Undefined variable: image_comments_number in /Users/john/Sites/pixelpost/index.php on line 736
[Thu Oct 4 18:25:55 2007] [error] PHP Notice: Undefined index: comments in /Users/john/Sites/pixelpost/index.php on line 741
[Thu Oct 4 18:25:55 2007] [error] PHP Notice: Undefined variable: image_id in /Users/john/Sites/pixelpost/index.php on line 747
[Thu Oct 4 18:25:55 2007] [error] PHP Notice: Undefined variable: image_id in /Users/john/Sites/pixelpost/index.php on line 747
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once(addons/admin_12CropImage.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'addons/admin_12CropImage.php' for inclusion (include_path='/usr/lib/php') in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once(addons/admin_akismet_comment.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'addons/admin_akismet_comment.php' for inclusion (include_path='/usr/lib/php') in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once(addons/admin_ping.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'addons/admin_ping.php' for inclusion (include_path='/usr/lib/php') in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once(addons/admin_update_exif.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'addons/admin_update_exif.php' for inclusion (include_path='/usr/lib/php') in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once(addons/advanced_stat.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'addons/advanced_stat.php' for inclusion (include_path='/usr/lib/php') in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once(addons/calendar.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'addons/calendar.php' for inclusion (include_path='/usr/lib/php') in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once(addons/copy_folder.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'addons/copy_folder.php' for inclusion (include_path='/usr/lib/php') in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once(addons/current_datetime.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'addons/current_datetime.php' for inclusion (include_path='/usr/lib/php') in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once(addons/paged_archive.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'addons/paged_archive.php' for inclusion (include_path='/usr/lib/php') in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14
[Thu Oct 4 18:25:55 2007] [error] PHP Warning: include_once(addons/referer_spam.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /Users/john/Sites/pixelpost/includes/addons_lib.php on line 14

*********************************************
ERRORS WHEN I VIEW index.php?showimage=1

[Thu Oct 4 18:26:41 2007] [error] PHP Notice: Undefined index: lang in /Users/john/Sites/pixelpost/index.php on line 162
[Thu Oct 4 18:26:41 2007] [error] PHP Notice: Undefined index: popup in /Users/john/Sites/pixelpost/index.php on line 203
[Thu Oct 4 18:26:41 2007] [error] PHP Warning: getimagesize(thumbnails/thumb_) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory in /Users/john/Sites/pixelpost/index.php on line 415
[Thu Oct 4 18:26:41 2007] [error] PHP Warning: getimagesize(thumbnails/thumb_) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory in /Users/john/Sites/pixelpost/index.php on line 444
[Thu Oct 4 18:26:41 2007] [error] PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /Users/john/Sites/pixelpost/includes/functions.php on line 282
[Thu Oct 4 18:26:41 2007] [error] PHP Warning: getimagesize(thumbnails/thumb_) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory in /Users/john/Sites/pixelpost/index.php on line 473
[Thu Oct 4 18:26:41 2007] [error] PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /Users/john/Sites/pixelpost/includes/functions.php on line 282
[Thu Oct 4 18:26:41 2007] [error] PHP Warning: getimagesize(thumbnails/thumb_) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory in /Users/john/Sites/pixelpost/index.php on line 501
[Thu Oct 4 18:26:41 2007] [error] PHP Warning: require(language/lang-english.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /Users/john/Sites/pixelpost/includes/functions_exif.php on line 64
[Thu Oct 4 18:26:41 2007] [error] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'language/lang-english.php' (include_path='/usr/lib/php') in /Users/john/Sites/pixelpost/includes/functions_exif.php on line 64

Dennis
10-05-2007, 07:57 AM
Failed opening required 'language/lang-english.php' (include_path='/usr/lib/php') in /Users/john/Sites/pixelpost/includes/functions_exif.php on line 64

That is the error, are you sure you uploaded all the files?

johnpixelpostbklyn
10-05-2007, 06:28 PM
That is the error, are you sure you uploaded all the files?

Yes, in fact, I merely unzipped the files and copied them in their existing file structure into my /sites/ folder.

The strange thing is that Admin works absolutely fine, even the cropping addon. And so does public browse.

Dkozikowski
10-05-2007, 06:35 PM
Just to double check, you have a language folder called language/ and a file called lang-english.php inside this folder?

johnpixelpostbklyn
10-05-2007, 07:40 PM
Just to double check, you have a language folder called language/ and a file called lang-english.php inside this folder?

Yes. language/lang-english.php, language/admin-lang-english.php, etc. There are a total of 26 files in that directory.

Dennis
10-07-2007, 05:04 PM
have you set your default language to english in the admin?