Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: After half a year cannot upload picture anyway (batch or single upload)  (Read 6048 times)

0 Members and 1 Guest are viewing this topic.

dexter_kazmin

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

Hello,
my gallery can be found on http://www.imunologie.upol.cz/coppermine the problem is, that when I installed the gallery, it worked perfectly fine, uploaded several picture. But after half a year, I wanted to add some more picts and when I do so it is not possible. Via single upload I cannot get to the point when I do link the uploaded picture to the Album, therefore picture is not loaded to the gallery. Via bantch upload, I am not getting any of the PHP errors. It simply went to PAGE CANNOT BE FOUND (looks like I lost internet connection, or what).

I have already checked with provider, no update has been done on MySQL server during last half year. You can see PHPINFO of the server here - http://www.imunologie.upol.cz/phpinfo.php

I have tried updating the Gallery and relink the Database and neither did help. Did try on different browsers (safari, ie6-8, opera, ff) and computer even OSs (mac, win, ubuntu). And I did already tried the trick with newsearch?=[NAME_OF_FOLDER], didn't help either. I am kind of lost. :-/

There are some picts in prepared for the bantch upload in the folder conference, so you can try it on them.

Login: tester
Pass: tester

Thanks for any help.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Logged
It is a mistake to think you can solve any major problems just with potatoes.

dexter_kazmin

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

When I ried to log-in as tester and tried to upload the picture into the album of tester, it gave me

db_input.php
Notice line 292: Undefined index: user1
Notice line 293: Undefined index: user2
Notice line 294: Undefined index: user3
Notice line 295: Undefined index: user4
Warning line 354: move_uploaded_file(/tmp/phpYECPKZ) [function.move-uploaded-file]: failed to open stream: No such file or directory
Warning line 354: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpYECPKZ' to 'albums/userpics/10006/P1030967~162.jpg'
/include/functions.inc.php
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!
Warning line 2950: cannot yet handle MBCS in html_entity_decode()!

+ the thing is, I am talking about aploading pictures to the main albums, not user ones. You need to be in the administrator group to try it out? Thanks a lot in advance.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me

Check the ownership and permissions of the Albums directory and make sure it is recursive.

Additionally, switch off notices as it is meant as a tool for developers. Just leave debug on.

Are you using PHP4 by chance (check using phpinfo in the admin tools). If so, get your host to upgrade you to PHP5.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

dexter_kazmin

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

Yes, webhosting is only PHP4. The provider offers PHP5 but only in combination with MySQL 5. Does new Coppermine-Gallery support MySQL5 too?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me

Yes, all requirements are listed on the homepage.

You should really get your host to upgrade to PHP5. IMO, sticking with PHP4 is just madness and any host that does so should be burnt at the steak.

Have you checked those permissions? Is this solved?
Logged
It is a mistake to think you can solve any major problems just with potatoes.

dexter_kazmin

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

I will contact the provider on Monday and ask them to move my database to PHP5 and MySQL5. For the Albums and Include folders, I do have permission on them 777, recursively. Still not working, cannot upload pictures to the root (you worked into the User's gallery). This is info before Single upload:
Code: [Select]
USER:
------------------
Array
(
    [ID] => 78fd7062d43b15d6a231add16fdd15eb
    [am] => 1
    [lang] =>
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => dexter_kazmin
    [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 cpg14x_filetypes; (0.002s)
    [1] => select * from cpg14x_plugins order by priority asc; (0.001s)
    [2] => delete from `imunologie`.cpg14x_sessions where time<1272050911 and remember=0; (0.001s)
    [3] => delete from `imunologie`.cpg14x_sessions where time<1270844911; (0.001s)
    [4] => select user_id from `imunologie`.cpg14x_sessions where session_id = '354c4e9293de4cf7cd8a7e0d815caa2a' (0.001s)
    [5] => select user_id as id, user_password as password from `imunologie`.cpg14x_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 `imunologie`.cpg14x_users AS u INNER JOIN `imunologie`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `imunologie`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
    [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 cpg14x_usergroups WHERE group_id in (1) (0.002s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0.001s)
    [10] => update `imunologie`.cpg14x_sessions set time='1272054511' where session_id = '354c4e9293de4cf7cd8a7e0d815caa2a' (0.001s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0.002s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2010-04-23 22:28:31' (0.001s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='62.209.211.129' OR ip_addr='62.209.211.129' OR user_id=1) AND brute_force=0 (0.001s)
    [14] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 ORDER BY title (0.001s)
    [15] => SELECT aid, title FROM cpg14x_albums WHERE category='10001' ORDER BY title (0.001s)
    [16] => DELETE FROM cpg14x_temp_data WHERE timestamp < 1272050911 (0.001s)
    [17] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.001s)
    [18] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='3' AND cat.cid=alb.category (0.001s)
    [19] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='1' AND cat.cid=alb.category (0.001s)
    [20] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='2' AND cat.cid=alb.category (0.001s)
)

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

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.0 - OK
------------------
mySQL version: 4.1.13
------------------
Coppermine version: 1.4.26(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
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.13
MYSQL_MODULE_TYPE none
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
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 | .:/usr/share/php | .:/usr/share/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /etc/phpsendmail | /etc/phpsendmail
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 | 120M | 120M
post_max_size | 120M | 120M
==========================
Page generated in 0.103 seconds - 21 queries in 0.024 seconds - Album set : ; Meta set: ;


-------------------------------------------------------------------------------------------------------------------------

This I get when upload didn't work:

Impossible to move P1030966~3.jpg to albums/userpics/10001/ !

File: /srv/www/vhosts/imunologie/public_html/coppermine/db_input.php - Line: 355

And info:

-------------------------------------------------------------------------------------------------------------------------

USER:
------------------
Array
(
    [ID] => 78fd7062d43b15d6a231add16fdd15eb
    [am] => 1
    [lang] =>
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => dexter_kazmin
    [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 cpg14x_filetypes; (0.001s)
    [1] => select * from cpg14x_plugins order by priority asc; (0.001s)
    [2] => delete from `imunologie`.cpg14x_sessions where time<1272051097 and remember=0; (0.001s)
    [3] => delete from `imunologie`.cpg14x_sessions where time<1270845097; (0.001s)
    [4] => select user_id from `imunologie`.cpg14x_sessions where session_id = '354c4e9293de4cf7cd8a7e0d815caa2a' (0.001s)
    [5] => select user_id as id, user_password as password from `imunologie`.cpg14x_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 `imunologie`.cpg14x_users AS u INNER JOIN `imunologie`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `imunologie`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
    [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 cpg14x_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0.001s)
    [10] => update `imunologie`.cpg14x_sessions set time='1272054697' where session_id = '354c4e9293de4cf7cd8a7e0d815caa2a' (0.001s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0.002s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2010-04-23 22:31:37' (0.001s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='62.209.211.129' OR ip_addr='62.209.211.129' OR user_id=1) AND brute_force=0 (0.001s)
    [14] => SELECT category FROM cpg14x_albums WHERE aid='3' (0.002s)
    [15] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.002s)
)

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

==========================
POST :
------------------
Array
(
    [album] => 3
    [MAX_FILE_SIZE] => 5242880
    [title] => Conference
    [caption] => Konference
    [keywords] =>
    [event] => picture
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.0 - OK
------------------
mySQL version: 4.1.13
------------------
Coppermine version: 1.4.26(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
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.13
MYSQL_MODULE_TYPE none
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
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 | .:/usr/share/php | .:/usr/share/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /etc/phpsendmail | /etc/phpsendmail
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 | 120M | 120M
post_max_size | 120M | 120M
==========================
Page generated in 0.099 seconds - 16 queries in 0.019 seconds - Album set : ; Meta set: ;

Edited - code box inserted by Joe Carver
« Last Edit: April 23, 2010, 11:08:13 pm by Joe Carver »
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page

Please, please do not post debug or massive amounts of error messages - it makes your postings very difficult to read.

dexter_kazmin

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

Sorry, my mistake.

I will contact the provider on Monday and ask them to move my database to PHP5 and MySQL5. For the Albums and Include folders, I do have permission on them 777, recursively. Still not working, cannot upload pictures to the root (you worked into the User's gallery). This is info before Single upload:

Code: [Select]
USER:
------------------
Array
(
    [ID] => 78fd7062d43b15d6a231add16fdd15eb
    [am] => 1
    [lang] =>
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => dexter_kazmin
    [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 cpg14x_filetypes; (0.002s)
    [1] => select * from cpg14x_plugins order by priority asc; (0.001s)
    [2] => delete from `imunologie`.cpg14x_sessions where time<1272050911 and remember=0; (0.001s)
    [3] => delete from `imunologie`.cpg14x_sessions where time<1270844911; (0.001s)
    [4] => select user_id from `imunologie`.cpg14x_sessions where session_id = '354c4e9293de4cf7cd8a7e0d815caa2a' (0.001s)
    [5] => select user_id as id, user_password as password from `imunologie`.cpg14x_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 `imunologie`.cpg14x_users AS u INNER JOIN `imunologie`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `imunologie`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
    [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 cpg14x_usergroups WHERE group_id in (1) (0.002s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0.001s)
    [10] => update `imunologie`.cpg14x_sessions set time='1272054511' where session_id = '354c4e9293de4cf7cd8a7e0d815caa2a' (0.001s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0.002s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2010-04-23 22:28:31' (0.001s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='62.209.211.129' OR ip_addr='62.209.211.129' OR user_id=1) AND brute_force=0 (0.001s)
    [14] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 ORDER BY title (0.001s)
    [15] => SELECT aid, title FROM cpg14x_albums WHERE category='10001' ORDER BY title (0.001s)
    [16] => DELETE FROM cpg14x_temp_data WHERE timestamp < 1272050911 (0.001s)
    [17] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.001s)
    [18] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='3' AND cat.cid=alb.category (0.001s)
    [19] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='1' AND cat.cid=alb.category (0.001s)
    [20] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='2' AND cat.cid=alb.category (0.001s)
)

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

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.0 - OK
------------------
mySQL version: 4.1.13
------------------
Coppermine version: 1.4.26(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
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.13
MYSQL_MODULE_TYPE none
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
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 | .:/usr/share/php | .:/usr/share/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /etc/phpsendmail | /etc/phpsendmail
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 | 120M | 120M
post_max_size | 120M | 120M
==========================
Page generated in 0.103 seconds - 21 queries in 0.024 seconds - Album set : ; Meta set: ;

-------------------------------------------------------------------------------------------------------------------------

This I get when upload didn't work:

Impossible to move P1030966~3.jpg to albums/userpics/10001/ !

File: /srv/www/vhosts/imunologie/public_html/coppermine/db_input.php - Line: 355

And info:

-------------------------------------------------------------------------------------------------------------------------
Code: [Select]
USER:
------------------
Array
(
    [ID] => 78fd7062d43b15d6a231add16fdd15eb
    [am] => 1
    [lang] =>
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => dexter_kazmin
    [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 cpg14x_filetypes; (0.001s)
    [1] => select * from cpg14x_plugins order by priority asc; (0.001s)
    [2] => delete from `imunologie`.cpg14x_sessions where time<1272051097 and remember=0; (0.001s)
    [3] => delete from `imunologie`.cpg14x_sessions where time<1270845097; (0.001s)
    [4] => select user_id from `imunologie`.cpg14x_sessions where session_id = '354c4e9293de4cf7cd8a7e0d815caa2a' (0.001s)
    [5] => select user_id as id, user_password as password from `imunologie`.cpg14x_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 `imunologie`.cpg14x_users AS u INNER JOIN `imunologie`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `imunologie`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
    [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 cpg14x_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0.001s)
    [10] => update `imunologie`.cpg14x_sessions set time='1272054697' where session_id = '354c4e9293de4cf7cd8a7e0d815caa2a' (0.001s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0.002s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2010-04-23 22:31:37' (0.001s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='62.209.211.129' OR ip_addr='62.209.211.129' OR user_id=1) AND brute_force=0 (0.001s)
    [14] => SELECT category FROM cpg14x_albums WHERE aid='3' (0.002s)
    [15] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.002s)
)

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

==========================
POST :
------------------
Array
(
    [album] => 3
    [MAX_FILE_SIZE] => 5242880
    [title] => Conference
    [caption] => Konference
    [keywords] =>
    [event] => picture
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.0 - OK
------------------
mySQL version: 4.1.13
------------------
Coppermine version: 1.4.26(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
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.13
MYSQL_MODULE_TYPE none
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
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 | .:/usr/share/php | .:/usr/share/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /etc/phpsendmail | /etc/phpsendmail
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 | 120M | 120M
post_max_size | 120M | 120M
==========================
Page generated in 0.099 seconds - 16 queries in 0.019 seconds - Album set : ; Meta set: ;
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me

It still looks like a permissions problem. Ask you host to check ownership and file permissions of the folders in question. If they compare them to whatever folder the users gallery pictures are in I bet you will find they belong to a different owner.

Please do as Joe requested and do not post debug output unless requested to do so. He's trying to help.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 19 queries.