I'm having a problem when using the search function. After typing in a search, such as "bnsf", when i click on any image on the page, along with any sub pages, i get
No image to display
File: /home/railroad/public_html/gallery/displayimage.php - Line: 590
I haven't changed any of the code on this end for that file. Is it possibly a permissions error? At the bottom is the debug information. Please help.
I believe this not to be a cookie issue like others are having. I've tried this on my home machine with IE and moziilla, clearing all temp files, but same error. Even had others that hadn't visited before, and they can't click on a thumbnail to then show the picture.
Here is a link to the page:
http://www.railroadfan.com/gallery/search.phpsearch for "bnsf" or "no"
USER:
------------------
Array
(
[ID] => a3685244264c269dbf5e0723adad2c06
[am] => 1
)
==========================
USER DATA:
------------------
Array
(
[0] => 2
[user_id] => 2
[1] => railroadfan
[user_name] => railroadfan
[2] => 1
[user_level] => 1
[groups] => Array
(
[0] => 1
[1] => 2
[2] => 28
)
[group_quota] => 0
[can_rate_pictures] => 1
[can_send_ecards] => 1
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 1
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 0
[upload_form_config] => 3
[num_file_upload] => 5
[num_URI_upload] => 3
[custom_user_upload] => 0
[disk_max] => 500000
[disk_min] => 0
[ufc_max] => 3
[ufc_min] => 3
[has_admin_access] => 1
[group_name] => Admin
[can_see_all_albums] => 1
[group_id] => 1
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content FROM cpg132_filetypes;
[1] => SELECT user_id, username as user_name, user_level FROM `railroad_phpbb1`.phpbb_users WHERE user_id='2' AND user_password='b427ebd39c845eb5417b7f7aaf1f9724' AND user_active='1'
[2] => SELECT (ug.group_id + 5) as group_id FROM `railroad_phpbb1`.phpbb_user_group as ug LEFT JOIN `railroad_phpbb1`.phpbb_groups as g ON ug.group_id = g.group_id WHERE user_id = 2 AND user_pending = 0 AND group_single_user = 0
[3] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as priv_upl_need_approval FROM cpg132_usergroups WHERE group_id in (1,2,28)
[4] => SELECT group_name FROM cpg132_usergroups WHERE group_id= 1
[5] => DELETE FROM cpg132_banned WHERE expiry < 1110994545
[6] => SELECT * FROM cpg132_banned WHERE ip_addr='67.162.205.244' OR ip_addr='67.162.205.244' OR user_id=2
)
==========================
GET :
------------------
Array
(
[album] => search
[cat] => 0
[pos] => 7
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.10 - OK
------------------
mySQL version: 4.0.23-standard-log
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 4.0.23
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.0.7
Linked Version 1.2.0.7
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 55M | 55M
==========================
Page generated in 0.111 seconds - 7 queries in 0.001 seconds - Album set :