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: [Solved]: Upgraded now I can't load images.  (Read 7678 times)

0 Members and 1 Guest are viewing this topic.

Marisa

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
    • Direct 2 U Scrapbooking
[Solved]: Upgraded now I can't load images.
« on: April 17, 2008, 05:30:14 am »

I can not upload images to my gallery.
I upgraded from 1.4.9 to 1.4.18. following the steps as per documentation.
I ran the 'update database' in my admin directory, i then checked the file versions at the bottom of this screen
and the 'anycontent.php' file has in the first box 1.4.9 and the next box across is yellow with 1.4.18? Now I did not overwrite this file, I skipped it as per instructions.
I clicked on the ? and the box said  "The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php"
I have uploaded 'include/init.inc.php'.
As the box is in yellow is there anything to worry about?
The summary at the bottom of the page says that all the files are checked and there are no missing files.
So why can't I upload any images?
Any suggestions on what I can do?

 

« Last Edit: April 19, 2008, 12:55:28 pm by Joachim Müller »
Logged

Marisa

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
    • Direct 2 U Scrapbooking
Re: Upgraded now I can't load images.
« Reply #1 on: April 17, 2008, 05:46:08 am »

A bit more info for you.
I can go through all the steps of adding an image: upload from my computer, add file name, album etc.
Click continue.
Then I get this message:
 
The previous file could not be placed.

You have successfully placed all the files.


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

Marisa

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
    • Direct 2 U Scrapbooking
Re: Upgraded now I can't load images.
« Reply #3 on: April 17, 2008, 09:48:37 am »

Thanks for the links, have read them and done what they ask.
This is the error message that now appears:

The file 'albums/userpics/10001/IMG_1592c~4.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /hsphere/local/home/j6design/direct2uscrapbooking.com.au/gallery/db_input.php - Line: 402

This is php info:
Code: [Select]
USER:
------------------
Array
(
    [ID] => aaa0f0d5c017ee7babbd9223a9059633
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin01
    [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 cpg140_filetypes; (0.001s)
    [1] => select * from cpg140_plugins order by priority asc; (0.001s)
    [2] => delete from `j6desig_coppermine0`.cpg140_sessions where time<1208412090 and remember=0; (0.001s)
    [3] => delete from `j6desig_coppermine0`.cpg140_sessions where time<1207206090; (0.001s)
    [4] => select user_id from `j6desig_coppermine0`.cpg140_sessions where session_id = '7417529a45e41325f826a1eb85400bbe' (0s)
    [5] => select user_id as id, user_password as password from `j6desig_coppermine0`.cpg140_users where user_id=1 (0.001s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `j6desig_coppermine0`.cpg140_users AS u INNER JOIN `j6desig_coppermine0`.cpg140_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `j6desig_coppermine0`.cpg140_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [8] => 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 cpg140_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg140_usergroups WHERE group_id= 1 (0s)
    [10] => update `j6desig_coppermine0`.cpg140_sessions set time='1208415690' where session_id = '7417529a45e41325f826a1eb85400bbe' (0s)
    [11] => SELECT user_favpics FROM cpg140_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg140_banned WHERE expiry < '2008-04-17 17:19:30' (0.001s)
    [13] => SELECT * FROM cpg140_banned WHERE (ip_addr='124.254.127.228' OR ip_addr='124.254.127.228' OR user_id=1) AND brute_force=0 (0.001s)
    [14] => SELECT category FROM cpg140_albums WHERE aid='23' (0.002s)
    [15] => SELECT COUNT(*) FROM cpg140_pictures WHERE approved = 'NO' (0.002s)
)

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

==========================
POST :
------------------
Array
(
    [album] => 23
    [MAX_FILE_SIZE] => 1048576
    [title] => Me
    [caption] => test
    [keywords] =>
    [event] => picture
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.7 - OK
------------------
mySQL version: 4.1.22-log
------------------
Coppermine version: 1.4.18(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.1.15
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/db/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/local/include/mysql
MYSQL_LIBS -L/usr/local/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 | 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 | .:/hsphere/shared/apache/libexec/php4ext/php/ | .:/hsphere/shared/apache/libexec/php4ext/php/
open_basedir | /hsphere/local/home/j6design:/usr:/tmp:/var/tmp:/hsphere/shared/apache/libexec | 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 | 60 | 60
upload_max_filesize | 10M | 10M
post_max_size | 10M | 10M
==========================
Page generated in 0.25 seconds - 16 queries in 0.014 seconds - Album set : ; Meta set: ;
I hope this is what you require, this is all new to me.
I am also having problems with the rgistration of new customers, I was trying to create e new user so I could include a test user account link in this post,
when i entered all info on registration page clicked on submit
It goes to a blank page with the http address of www.direct2uscrapbooking.com.au/gallery/register.php
Have I done something really wrong with the upgrade.
I seem to have one problem after another.
« Last Edit: April 17, 2008, 11:35:37 am by Hein Traag »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgraded now I can't load images.
« Reply #4 on: April 17, 2008, 10:26:02 am »

Thanks for the links, have read them and done what they ask.
No, you haven't. In fact, you have done quite the opposite of what you're supposed to do! Review your permissions (see permissions section of the docs).
Logged

Marisa

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
    • Direct 2 U Scrapbooking
Re: Upgraded now I can't load images.
« Reply #5 on: April 17, 2008, 12:38:01 pm »

Ok I have reset the permissions to 777 has per docs.
Can now register as customer,
but don't have any access to any albums to up-load images.
In admin mode can not up load images as well.
Still the same error message as previously stated.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgraded now I can't load images.
« Reply #6 on: April 18, 2008, 08:31:39 am »

Ok I have reset the permissions to 777 has per docs.
The docs don't say that you need to set permissions to 777 - they say to make the folder writable for the script, depending on your server setup.

Still the same error message as previously stated.
Then why don't you do as I suggested and re-read the documentation sections that I already refered to and do as suggested there?
Logged

Marisa

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
    • Direct 2 U Scrapbooking
Re: Upgraded now I can't load images.
« Reply #7 on: April 18, 2008, 01:26:16 pm »

I got it.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgraded now I can't load images.
« Reply #8 on: April 18, 2008, 06:30:14 pm »

Issue solved then? Can the thread be marked accordingly?
Logged

Marisa

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
    • Direct 2 U Scrapbooking
Re: Upgraded now I can't load images.
« Reply #9 on: April 19, 2008, 12:09:22 am »

Yes
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.