forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: happymm on August 25, 2005, 02:07:21 pm

Title: switch to new server, latest uplaod photo lost, newly upload not shown
Post by: happymm on August 25, 2005, 02:07:21 pm
someone please kindly help me with it.

USER:
------------------
Array
(
    [ID] => e74f3109514ef452f71c8b3c599f6244
    [am] => 1
    [liv] => Array
        (
           
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 187
    [user_group] => 1
    [user_active] => YES
    [user_name] => 哈比摩圖庫分享
    [user_password] => ********
    [user_lastvisit] => 2005-08-25 19:25:42
    [user_regdate] => 2005-06-29 12:03:07
    [user_group_list] =>
    [user_email] => service@happymalls.com.tw
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [user_favpics] =>
    [disk_max] => 1024000
    [disk_min] => 1024000
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 1
    [num_file_upload] => 10
    [num_URI_upload] => 10
    [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] => 1
    [group_name] => 管理者
    [upload_form_config] => 3
    [group_quota] => 1024000
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: switch to new server, latest uplaod photo lost, newly upload not shown
Post by: Joachim Müller on August 26, 2005, 08:43:10 am
only post debug output when a supporter requests it. Instead: post a link and non-admin test user account with upload privileges.
Title: Re: switch to new server, latest uplaod photo lost, newly upload not shown
Post by: happymm on August 26, 2005, 11:46:34 am
only post debug output when a supporter requests it. Instead: post a link and non-admin test user account with upload privileges.

try below:

http://happymalls.com.tw/photo

test1 / test1
Title: Re: switch to new server, latest uplaod photo lost, newly upload not shown
Post by: Joachim Müller on August 26, 2005, 05:24:04 pm
well, the pics don't exist on the server, you'll have to upload them to the new server:
http://happymalls.com.tw/photo/albums/userpics/10179/thumb_940822-4.jpg and http://happymalls.com.tw/photo/albums/userpics/10179/940822-4.jpg return
Quote
404 Not found
Title: Re: switch to new server, latest uplaod photo lost, newly upload not shown
Post by: happymm on August 26, 2005, 05:28:59 pm
well, the pics don't exist on the server, you'll have to upload them to the new server:
http://happymalls.com.tw/photo/albums/userpics/10179/thumb_940822-4.jpg and http://happymalls.com.tw/photo/albums/userpics/10179/940822-4.jpg return
Quote
404 Not found

Ok, then. But while I login as adim user, I cannot either delete the pics or uplaod new photo(image not shown). Whatr's going on?

You may try to upload a photo, and you'll know what I mean.

Thanx for your help.
Title: Re: switch to new server, latest uplaod photo lost, newly upload not shown
Post by: Joachim Müller on August 26, 2005, 05:30:26 pm
well, the pics don't exist on the server, you'll have to upload them to the new server:
http://happymalls.com.tw/photo/albums/userpics/10179/thumb_940822-4.jpg and http://happymalls.com.tw/photo/albums/userpics/10179/940822-4.jpg return
Quote
404 Not found
I was refering to FTP-upload, not http upload.
Title: Re: switch to new server, latest uplaod photo lost, newly upload not shown
Post by: happymm on August 26, 2005, 05:51:23 pm
well, the pics don't exist on the server, you'll have to upload them to the new server:
http://happymalls.com.tw/photo/albums/userpics/10179/thumb_940822-4.jpg and http://happymalls.com.tw/photo/albums/userpics/10179/940822-4.jpg return
Quote
404 Not found
I was refering to FTP-upload, not http upload.

I know exactly what you mean. I'll try it later. But the problem of http upload still exsists as I mentioned above.
Title: Re: switch to new server, latest uplaod photo lost, newly upload not shown
Post by: Joachim Müller on August 27, 2005, 04:13:05 pm
when you moved from your old server to the new one, you were suppossed to download all files from the old server (using ftp) and create a mysql dump. Then, on the new server, you were meant to upload all files you downloaded from the old server to the new one (again: using FTP). Then, you were meant to restore your mysql dump from the old server on the new server. Coppermine only "knows" the relative position of a file within the albums folder, if the pic is not there, it won't be able to display it. As I said before: the pic doesn't exist in the location the coppermine database "thinks" it should exist in, that's why you get a broken image. Restore the pic file, and the broken image will go away.

To solve any http upload issues you might have (which is a different issue and shouldn't have gone into the same thread, as we have a "one question per thread" policy you agreed to respect when signing up, do as suggested in http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php

Joachim