coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: ytknows on April 01, 2005, 11:16:31 PM

Title: Upload Works, GD2 Works, Strange "SAFE MODE" Error Message
Post by: ytknows on April 01, 2005, 11:16:31 PM
I have CPG up and running on my site, but after I upload pics (as a regular user or admin) and enter their description, I get this error at the top of the next page:

"Warning: rename(): SAFE MODE Restriction in effect. The script whose uid is 675 is not allowed to access /home/virtual/site171/fst/var/www/html/qctracking/albums/userpics/10001 owned by uid 48 in /home/virtual/site171/fst/var/www/html/qctracking/upload.php on line 2226"



and the webpage reads:
"Information
The previous file could not be placed.

You have successfully placed all the files. "

When I run debug mode, I get error messages on every page, like:
Notice: Undefined index: cat_thumb in /home/virtual/site171/fst/var/www/html/qctracking/themes/classic/theme.php on line 1046
Notice: Undefined offset: 2 in /home/virtual/site171/fst/var/www/html/qctracking/upload.php on line 250
Notice: Undefined offset: 3 in /home/virtual/site171/fst/var/www/html/qctracking/upload.php on line 256
Notice: Undefined offset: 4 in /home/virtual/site171/fst/var/www/html/qctracking/upload.php on line 256
Notice: Undefined index: URI_array in /home/virtual/site171/fst/var/www/html/qctracking/upload.php on line 1261
Notice: Undefined variable: file_failure_array in /home/virtual/site171/fst/var/www/html/qctracking/upload.php on line 1940
Notice: Undefined variable: URI_failure_array in /home/virtual/site171/fst/var/www/html/qctracking/upload.php on line 1941
Notice: Undefined variable: zip_failure_array in /home/virtual/site171/fst/var/www/html/qctracking/upload.php on line 1942
Notice: Undefined variable: PIC_NEED_APPROVAL in /home/virtual/site171/fst/var/www/html/qctracking/upload.php on line 2266

it goes through those as I go thru the steps of uploading, and then, it gives the same page as before, with the same "The Previous File Could Not Be Placed" message, "SAFE MODE" error message, and this new one:
Notice: Undefined variable: PIC_NEED_APPROVAL in /home/virtual/site171/fst/var/www/html/qctracking/upload.php on line 2266

Debug log reads:
USER:
------------------
Array
(
    [ID] => 2d1ac9259d664fca53ba657af092bb4c
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => kwilliams
    [user_password] => ********
    [user_lastvisit] => 2005-04-01 16:08:23
    [user_regdate] => 2005-04-01 03:55:27
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 1
    [ufc_min] => 1
    [custom_user_upload] => 1
    [num_file_upload] => 10
    [num_URI_upload] => 3
    [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] => 1
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: Upload Works, GD2 Works, Strange "SAFE MODE" Error Message
Post by: ytknows on April 02, 2005, 12:26:25 AM
Sorry, I searched the forum earlier and did not see the sticky thread dealing with this.

My apologies.