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: cpmfetch (CF-Error) - new errors  (Read 10831 times)

0 Members and 1 Guest are viewing this topic.

jhansle1

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
cpmfetch (CF-Error) - new errors
« on: January 13, 2008, 03:09:58 am »

All,

For some reason (randomly), I am have the CF-Error and a box with the filename display where the picture should be.  Sometimes the picture displays, and sometimes they don't.  This happens to all categories and albums at random.  I didn't change a setting (or upgrade) that should have caused this (because it worked before), but my web host did disable the allow_url_fopen setting (in php.ini) for security reasons.  I wouldn't think that would cause any problems because all of these files are "local'.

The url with the errors is: http://www.planetsteelers.com

I would appreciate any help you all could offer.

Thanks,

jh

just a few notes:
--
1)  This occurs completely at random.  Sometimes the album pictures display and sometimes they don't
2)  When I click the link (in the box) where the picture is suppose to show, it takes me to the CORRECT photo.  Doesn't that mean the path is correct?
3)  My web host has disabled allow_url_fopen
4)  I did run the install.php.  It was a successful install, and it DID display my 4 images (as the test)
Logged

jhansle1

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: cpmfetch (CF-Error) - new errors
« Reply #1 on: January 13, 2008, 04:19:00 pm »

fyi...

I viewed the source of my page ( http://www.planetsteelers.com/index.php) where i'm experiencing this problem and see this:

                                            CF-Error <!-- GITU: Could not find any image to display: Extension (strtolower): .gif  File:/home/planetst/public_html/cpg1410//albums/userpics/10002/thumb_steelers.gif-->

CF-Error <!-- GITU: Could not find any image to display: Extension (strtolower): .gif  File:/home/planetst/public_html/cpg1410//albums/userpics/10002/thumb_steelers.gif-->

Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: cpmfetch (CF-Error) - new errors
« Reply #2 on: January 13, 2008, 04:55:42 pm »

Are you aware of having two slashes in the path you quoted?

CF-Error <!-- GITU: Could not find any image to display: Extension (strtolower): .gif  File:/home/planetst/public_html/cpg1410//albums/userpics/10002/thumb_steelers.gif-->

« Last Edit: January 13, 2008, 10:26:04 pm by just_some_guy »
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

jhansle1

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: cpmfetch (CF-Error) - new errors
« Reply #3 on: January 13, 2008, 08:54:04 pm »

I wasn't aware of that actually.  Nice catch!

How would I go about changing that path?

Also,  A weird discovery after trying to run the admin tool "Updating Thumbnails and resized images".  Please see the below errors:

Code: [Select]
Updating thumbnails and/or resized images, please wait...
albums/uploads/thumb_th_22102_sainz1_544lo.jpg updated succesfully !
albums/uploads/thumb_1.jpg updated succesfully !
albums/uploads/thumb_Ines_1.jpg updated succesfully !
albums/uploads/thumb_th_22104_sainz2_548lo.jpg updated succesfully !
ERROR creating : albums/userpics/10002/thumb_Holmes_Press_Conference.jpg
albums/uploads/thumb_2006_sb_parade.jpg updated succesfully !
albums/uploads/normal_2006_sb_parade.jpg updated succesfully !
albums/uploads/thumb_100_2417.jpg updated succesfully !
albums/uploads/normal_100_2417.jpg updated succesfully !
albums/uploads/thumb_birdseye.jpg updated succesfully !
albums/uploads/normal_birdseye.jpg updated succesfully !
albums/uploads/thumb_fans3.jpg updated succesfully !
albums/uploads/normal_fans3.jpg updated succesfully !
albums/uploads/thumb_fans6.jpg updated succesfully !
albums/uploads/normal_fans6.jpg updated succesfully !
albums/Defense/thumb_20070101pd_fbn_ansmith_taylorpj_450KXEG.jpg updated succesfully !
albums/Defense/normal_20070101pd_fbn_ansmith_taylorpj_450KXEG.jpg updated succesfully !
ERROR creating : albums/userpics/10002/thumb_AACT036~Jack-Lambert-Photofile-Posters.jpg
ERROR creating : albums/userpics/10002/thumb_800px-Pittsburgh_skyline_daytime(2-14).jpg
ERROR creating : albums/userpics/10002/thumb_Heinz_Field2-14.jpg
ERROR creating : albums/userpics/10002/thumb_20070101pd_fbn_holmes_34runPJ_450.jpg
ERROR creating : albums/userpics/10002/thumb_a_recordparker_ht.jpg
ERROR creating : albums/userpics/10002/thumb_20060908pd_steelers0908i_450.jpg
ERROR creating : albums/userpics/10002/thumb_20060605pd_sbxl_ringPJ_300QA.jpg
ERROR creating : albums/userpics/10002/thumb_2006-01-19-porter.jpg
ERROR creating : albums/userpics/10002/thumb_0308porter-a.jpg
ERROR creating : albums/userpics/10002/thumb_porter280.jpg
ERROR creating : albums/userpics/10002/thumb_PolamaluHarrison.jpg
ERROR creating : albums/userpics/10002/thumb_joey-porter.jpg
ERROR creating : albums/userpics/10002/thumb_img9210896.jpg
ERROR creating : albums/userpics/10002/thumb_gildon002me7.jpg
ERROR creating : albums/userpics/10002/thumb_porter-joey-ap-060205.jpg
ERROR creating : albums/userpics/10002/thumb_porter_joey6.jpg
ERROR creating : albums/userpics/10002/thumb_Drawing_Guy.jpg
ERROR creating : albums/userpics/10002/thumb_dave_n_at.gif
ERROR creating : albums/userpics/10002/thumb_Camber.jpg
ERROR creating : albums/userpics/10002/thumb_Anjang.jpg
ERROR creating : albums/userpics/10002/thumb_AngryAsian.jpg
ERROR creating : albums/userpics/10002/thumb_JAR.jpg
ERROR creating : albums/userpics/10002/thumb_fo_lrock.jpg
ERROR creating : albums/userpics/10002/thumb_Flasteel_1.jpg
ERROR creating : albums/userpics/10002/thumb_Flasteel.jpg
ERROR creating : albums/userpics/10002/thumb_Drawingguy.jpg
ERROR creating : albums/userpics/10002/thumb_MeetJoeGreene_1.jpg
ERROR creating : albums/userpics/10002/thumb_MeetJoeGreene.jpg
ERROR creating : albums/userpics/10002/thumb_Kato_2.jpg
ERROR creating : albums/userpics/10002/thumb_Kato_1.jpg
ERROR creating : albums/userpics/10002/thumb_Kato.jpg
ERROR creating : albums/userpics/10002/thumb_Steelerswin.gif
ERROR creating : albums/userpics/10002/thumb_smarchit.jpg
ERROR creating : albums/userpics/10002/thumb_Puh-LAM-uh-looo_1.jpg

All the files that are in the "albums/userpics" directory are failing.  These same files are the ones that are failing to be displayed on my main page (http://www.planetsteelers.com/index.php).  I view the source to verify that (see previous posting).  I checked the permissions on the "albums" and "userpics' directory and both of them are set to 777?

anyone know whats going on or how to fix this?

Thanks Again!
« Last Edit: January 29, 2008, 08:29:36 pm by Nibbler »
Logged

jhansle1

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: cpmfetch (CF-Error) - new errors
« Reply #4 on: January 13, 2008, 10:21:34 pm »

more errors:

I've been doing some more testing to try to figure this out.  I try to "upload" to the userpics dir using the coppermine front end, and I get the following error:

Impossible to move 33803741.jpg to albums/userpics/10002/ !

File: /home/planetst/public_html/cpg1410/db_input.php - Line: 355

I'm in "debug" mode and here is what it returned to me:

Code: [Select]
USER:
------------------
Array
(
    [ID] => 0ab8deb4bc8d7edf7fda48f691b31367
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 126
            [1] => 128
            [2] => 127
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => jhansle1
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 1
    [num_URI_upload] => 0
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg1410_filetypes; (0.016s)
    [1] => select * from cpg1410_plugins order by priority asc; (0.01s)
    [2] => SELECT * FROM cpg1410_bridge (0.004s)
    [3] => SELECT u.user_id AS user_id, u.user_password AS password, u.user_level FROM `planetst_p_bb1`.phpbb_users AS u, `planetst_p_bb1`.phpbb_sessions AS s WHERE u.user_id=s.session_user_id AND s.session_id = '68f59fdde448eab22643e2079749250e' AND u.user_id > 0 (0.003s)
    [4] => SELECT u.user_id AS id, u.username AS username, u.user_password AS password, ug.group_id AS group_id FROM `planetst_p_bb1`.phpbb_users AS u, `planetst_p_bb1`.phpbb_user_group AS ug WHERE u.user_id=ug.user_id AND u.user_id='2' (0.001s)
    [5] => 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 cpg1410_usergroups WHERE group_id in (1) (0.005s)
    [6] => SELECT group_name FROM  cpg1410_usergroups WHERE group_id= 1 (0.019s)
    [7] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 2 (0.003s)
    [8] => DELETE FROM cpg1410_banned WHERE expiry < '2008-01-13 21:06:01' (0.002s)
    [9] => SELECT * FROM cpg1410_banned WHERE (ip_addr='76.26.206.212' OR ip_addr='76.26.206.212' OR user_id=2) AND brute_force=0 (0.003s)
    [10] => SELECT category FROM cpg1410_albums WHERE aid='4' (0s)
    [11] => SELECT COUNT(*) FROM cpg1410_pictures WHERE approved = 'NO' (0.015s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
    [album] => 4
    [MAX_FILE_SIZE] => 3072000
    [title] => Big Ben TD
    [caption] => Ben dives for a Touchdown!
    [keywords] => Big Ben Roethlisberger TD Touchdown Dive
    [event] => picture
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.7 - OK
------------------
mySQL version: 4.0.16
------------------
Coppermine version: 1.4.10(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.16
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/mysql/include/mysql
MYSQL_LIBS -L/usr/local/mysql/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/local/lib/php-4.4.7/lib/php | .:/usr/local/lib/php-4.4.7/lib/php
open_basedir | /home/planetst/:/usr/lib/php:/usr/local/lib/php:/tmp:/var/tmp:/home/vdeck/tmp/:/usr/local/bin/mogrify:/usr/local/bin/convert:/usr/sbin/sendmail | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/local/wrap/sendmail -t -i  | /usr/local/wrap/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 | 8M | 8M
==========================
Page generated in 0.326 seconds - 12 queries in 0.081 seconds - Album set : ; Meta set: ;
« Last Edit: January 29, 2008, 08:29:18 pm by Nibbler »
Logged

jhansle1

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: cpmfetch (CF-Error) - new errors
« Reply #5 on: January 29, 2008, 08:22:56 pm »

I'm still having the same problems listed above.  Does anyone have a solution to this?
Logged

Nibbler

  • Guest
Re: cpmfetch (CF-Error) - new errors
« Reply #6 on: January 29, 2008, 08:28:54 pm »

albums/userpics/10002/ is not writable. You need to make it writable before Coppermine can write to it.
Logged

jhansle1

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: cpmfetch (CF-Error) - new errors
« Reply #7 on: January 31, 2008, 04:31:01 am »

albums/userpics/10002/ is not writable. You need to make it writable before Coppermine can write to it.

Nibbler,

Thanks for your response.  I have ftp'ed and navigated to this directory to double check the permissions set.  This directory is set to 777.  I'm still having the same errors.... Any other ideas?

Thanks!
Logged

Nibbler

  • Guest
Re: cpmfetch (CF-Error) - new errors
« Reply #8 on: January 31, 2008, 10:43:24 am »

You'll need to enable silly_safe_mode then, check the docs for details.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.