won't save config options won't save config options
 

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

Main Menu

won't save config options

Started by LadyRed24_7, February 24, 2007, 11:23:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LadyRed24_7

After I log in and put yes for "Allow unlogged users (guest or anonymous) access  Yes    No  "  it won't save it keeps puttin no instead of yes so if I'm not logged in or anyone they can't see gallery.

Help.

LadyRed24_7

USER:
------------------
Array
(
    [ID] => 08f90ec5b7fdbdee3429cec56ddef867
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => bookasku
    [groups] => Array
        (
           
  • => 1
            )

        [disk_max] => 0
        [disk_min] => 0
        [can_rate_pictures] => 1
        [can_send_ecards] => 1
        [ufc_max] => 3
        [ufc_min] => 3
        [custom_user_upload] => 0
        [num_file_upload] => 5
        [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] => 3
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
        [1] => delete from `bookasku_copp1`.cpg_sessions where time<1172352887 and remember=0; (0s)
        [2] => delete from `bookasku_copp1`.cpg_sessions where time<1171146887; (0s)
        [3] => select user_id from `bookasku_copp1`.cpg_sessions where session_id=md5("56097e547c6c317617fd153c65e88b76fdef90fc6b1a9125bd7d3ce2a71cffa2"); (0s)
        [4] => select user_id as id, user_password as password from `bookasku_copp1`.cpg_users where user_id=1 (0s)
        [5] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `bookasku_copp1`.cpg_users AS u INNER JOIN `bookasku_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [6] => SELECT user_group_list FROM `bookasku_copp1`.cpg_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
        [7] => 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 cpg_usergroups WHERE group_id in (1) (0s)
        [8] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0s)
        [9] => update `bookasku_copp1`.cpg_sessions set time='1172356487' where session_id=md5('56097e547c6c317617fd153c65e88b76fdef90fc6b1a9125bd7d3ce2a71cffa2'); (0s)
        [10] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
        [11] => DELETE FROM cpg_banned WHERE expiry < '2007-02-24 22:34:47' (0s)
        [12] => SELECT * FROM cpg_banned WHERE (ip_addr='68.203.143.235' OR ip_addr='68.203.143.235' OR user_id=1) AND brute_force=0 (0s)
        [13] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.1.6 - OK
    ------------------
    mySQL version: 5.0.27-standard
    ------------------
    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
    XPM Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    module doesn't exist
    ==========================
    Module: zlib
    ------------------
    module doesn't exist
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |
    ==========================
    Page generated in 0.077 seconds - 14 queries in 0 seconds - Album set : ; Meta set: ;

Nibbler

I guess you forgot to run update.php. If that doesn't help post a link.

LadyRed24_7

How do I run update.php?  Never had to do this before and it's for website www.bookaskustoms.com/gallery

Thanks.



Joachim Müller

As suggested in the docs:
QuoteRun the file "update.php" in the coppermine directory once in your browser (e.g. http://yourdomain.tld/coppermine/update.php). This will update your coppermine install by making all necessary changes in the database.

LadyRed24_7

It said update was already done on it.

But checked files and it said this.........
It will show everything in red that needs to be fixed. Entries in yellow need looking into. Entries in green (or your default font color) are OK.


Here are screen shots of it:

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi50.photobucket.com%2Falbums%2Ff331%2Fladyred24_7%2Ferror2.jpg&hash=5204adc662614ba52616a69d194cb752b2626c1e)


(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi50.photobucket.com%2Falbums%2Ff331%2Fladyred24_7%2Ferror1.jpg&hash=3dcec173f8a7002da749277d103932b620345b29)




Click on the help icons to find out more.
USER:
------------------
Array
(
    [ID] => 497bb5f6bbc1f4130621d5e15e43c44f
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => bookasku
    [groups] => Array
        (
           
  • => 1
            )

        [disk_max] => 0
        [disk_min] => 0
        [can_rate_pictures] => 1
        [can_send_ecards] => 1
        [ufc_max] => 3
        [ufc_min] => 3
        [custom_user_upload] => 0
        [num_file_upload] => 5
        [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] => 3
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
        [1] => delete from `bookasku_copp1`.cpg_sessions where time<1173966393 and remember=0; (0s)
        [2] => delete from `bookasku_copp1`.cpg_sessions where time<1172760393; (0s)
        [3] => select user_id from `bookasku_copp1`.cpg_sessions where session_id=md5("cdfde49e9563cd7dc7f89ea9cfdf1b71b06d661dc09b4aeae93c9116b6a3fddb"); (0s)
        [4] => select user_id as id, user_password as password from `bookasku_copp1`.cpg_users where user_id=1 (0s)
        [5] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `bookasku_copp1`.cpg_users AS u INNER JOIN `bookasku_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [6] => SELECT user_group_list FROM `bookasku_copp1`.cpg_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
        [7] => 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 cpg_usergroups WHERE group_id in (1) (0s)
        [8] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0s)
        [9] => update `bookasku_copp1`.cpg_sessions set time='1173969993' where session_id=md5('cdfde49e9563cd7dc7f89ea9cfdf1b71b06d661dc09b4aeae93c9116b6a3fddb'); (0s)
        [10] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
        [11] => DELETE FROM cpg_banned WHERE expiry < '2007-03-15 14:46:33' (0s)
        [12] => SELECT * FROM cpg_banned WHERE (ip_addr='216.61.131.20' OR ip_addr='216.61.131.20' OR user_id=1) AND brute_force=0 (0s)
        [13] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.1.6 - OK
    ------------------
    mySQL version: 5.0.27-standard
    ------------------
    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
    XPM Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    module doesn't exist
    ==========================
    Module: zlib
    ------------------
    module doesn't exist
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |
    ==========================
    Page generated in 1.538 seconds - 14 queries in 0 seconds - Album set : ; Meta set: ;


    THANKS for all your help!!!


Joachim Müller

Stop posting debug_output. Only post it if a supporter explicitely asks for it.

LadyRed24_7

ok...................................Can some1 respond to what I posted as to what I need to do?


Nibbler

Re-upload sql/update.sql. It is truncated.

LadyRed24_7

I'm sorry, could you please explain to me how I do that.  Thanks for your help Nibbler.

LR

Joachim Müller

Use your FTP app to re-upload the file Nibbler suggested. Make sure that your FTP app is set up to overwrite existing files.

LadyRed24_7


Nibbler

It's sql/update.sql. That means the file is named update.sql and it is located in the directory named sql.

LadyRed24_7

Wouldn't reupload mean get a new file version of it?  So where do I get that, what you typed to me means finding the same one already on directory, I'm trying to get a new copy of it?  Is, so where do I got to download that file?  link?

Nibbler

Click on downloads at the top of this page and get yourself a copy of Coppermine.

LadyRed24_7

Thanks I replaced the file and it still won't save conf settings ???  so that anyone can view the gallery and not just registered views.

LadyRed24_7

Thanks fellas.  It seems to be working now overnight.  Your much appreciated.

LR