warning problem new warning problem new
 

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]

Main Menu

warning problem new

Started by nautica, September 29, 2005, 11:24:11 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

nautica

Hi   
 
or new problems. When a consumer creates a new album me apare this error   
 
Lines: /web/htdocs/www.nauticalink.it/home/Galleria_Nautica/include/functions.inc.php - Line: 971   
 
there and a solution. 
 
thanks

http://lnx.nauticalink.it/Galleria_Nautica

Joachim Müller

post the actual error message instead of reference to the line of code. If you can't, provide a screenshot. If this happens every time for you, post a non-admin test user account. Come on, you have been around on this forum for a while, you should know what we need to give support.

Nibbler

You should have got the error message 'A category has a non-existing parent, run the category manager to correct the problem!'

nautica

Quote from: GauGau on September 30, 2005, 09:09:09 AM
post the actual error message instead of reference to the line of code. If you can't, provide a screenshot. If this happens every time for you, post a non-admin test user account. Come on, you have been around on this forum for a while, you should know what we need to give support.


I am able you invire login to try consumer in the zone 
 
and the login admin area to verify what is happening to my gallery. 
 
thanns



Joachim Müller

Don't use machine translations, I don't understand. If you're trying to send an admin login: don't, there's no need to (yet). Do as suggested above and post your results instead.

nautica

you can do you a recording to see if everything works correctly   
 
I have this problem Debug Info




USER:
------------------
Array
(
    [ID] => de1af386db0feea1fb0ba6468687b94e
    [am] => 1
    [liv] => Array
        (
           
  • => 3
                [1] => 26
                [2] => 58
                [3] => 59
                [4] => 60
            )

        [lang] => english
    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_group] => 1
        [user_active] => YES
        [user_name] => ***************
        [user_password] => ********
        [user_lastvisit] => 2005-10-01 09:18:08
        [user_regdate] => 2005-09-25 23:25:08
        [user_group_list] =>
        [user_email] => webmaster@nauticalink.it
        [user_website] => http://www.nauticalink.it
        [user_location] =>
        [user_interests] => Costruttore di Barche di oigni tipo
        [user_occupation] =>
        [user_actkey] =>
        [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] => 10
        [num_URI_upload] => 4
        [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
        [groups] => Array
            (
                [1] => 1
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg134_filetypes;
        [1] => SELECT * FROM cpg134_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'e804aa7247f5dec78f89d37de987c1e2'
        [2] => 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 cpg134_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg134_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg134_banned WHERE expiry < '2005-10-01 12:31:25'
        [5] => SELECT * FROM cpg134_banned WHERE ip_addr='151.38.91.221' OR ip_addr='151.38.91.221' OR user_id=1
        [6] => SELECT parent FROM cpg134_categories WHERE cid = '12' LIMIT 1
        [7] => UPDATE cpg134_categories SET parent='0' WHERE parent = '12'
        [8] => UPDATE cpg134_albums SET category='0' WHERE category = '12'
        [9] => DELETE FROM cpg134_categories WHERE cid='12' LIMIT 1
        [10] => SELECT cid FROM cpg134_categories WHERE 1
        [11] => UPDATE cpg134_categories SET parent = '0' WHERE parent=cid OR parent NOT IN (8)
        [12] => SELECT cid, name, description FROM cpg134_categories WHERE parent = '0' ORDER BY pos
        [13] => SELECT cid, name, description FROM cpg134_categories WHERE parent = '8' ORDER BY pos
        [14] => UPDATE cpg134_categories SET pos='0' WHERE cid = '8' LIMIT 1
        [15] => SELECT pid, filepath, filename, url_prefix FROM cpg134_pictures,cpg134_albums WHERE cpg134_pictures.aid = cpg134_albums.aid AND cpg134_albums.category = '12' AND approved='YES' ORDER BY filename
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [op] => deletecat
        [cid] => 12
    )

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 4.0.25-standard-log
    ------------------
    Coppermine version: 1.3.4
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version bundled (2.0.28 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    T1Lib Support enabled
    GIF Read Support enabled
    GIF Create Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XBM Support enabled
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 0
    Active Links 1
    Client API version 3.23.49
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/run/mysqld/mysqld.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    Linked Version 1.1.4
    ==========================
    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/local/lib/php | .:/usr/local/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    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 | 120 | 120
    max_input_time | -1 | -1
    upload_max_filesize | 10M | 10M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.361 seconds - 16 queries in 0.269 seconds - Album set :

nautica

or another problem   
 
how much a consumer wants to create a new galleries you/he/she goes out this error 
 
and in the home page the category not and visible 
 
To category has to not-existing parent, run the category manager to correct the problem!   
 
as I must have this problem resolved. 
 
thanks

Joachim Müller

post the actual error message, not the debug_output. We have a "one question per thread" policy you agreed to respect when signing up, so your other question will go unanswered on this thread.
Nautica, I can see that you're having difficulties writing in English, or rather: I have problems understanding what you're trying to say. We don't blame users for not speaking English that well (in fact English is not my first language either as most can clearly see). In your case, you might want to ask a friend to translate for you, as there is a lot of meta-discussion on the threads you posted in. Please try to use more words when describing your actual problems. Illustrate them with screenshots attached to your postings. There is no other advice I could give you right now.

nautica

Now I describe the problem to you I pass for footstep. 
 
1 - a New Consumer records Ok 
2 - it creates new Album ok 
3 - Upload lines OK 
4 -all the lines have been sent with success OK 
5 - when I go in the home page My Gallery he doesn't see in the list 
6 - instead the image upload there and pero' if click above this error is visualized To category has to not-existing parent, run the category manager to correct the problem!   
 
 
This and the Problem

Stramm

I'm not 100% sure I understand what you mean... but may it be that you've set in the group manager public and/ or private upload approval to 'yes'. In that case you need to approve the pics before they become visible for non admins.

Otherwise a screenshot with the error message you get could help

Joachim Müller

so you're having an upload issue, not an install issue. Moving your thread accordingly. Do as suggested in http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php

nautica

no upload ok 
 
the problem that the new personal album is not visualized in the home page

Stramm

upload an image to that album and it'll become visible

nautica

if click creating a new my gallery goes out me this error 
 
To category has to not-existing parent, run the category manager to correct the problem!   
 
I can send the logins of admin to her to see the problem 
 
thanks

Joachim Müller

#14
Quote from: GauGau on October 02, 2005, 01:02:59 PM
Do as suggested in http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php
Enable debug_mode and post a non-admin test user account. If you don't do as suggested, I won't be able to help you. Read the tutorial I refered to for details.

nautica

if click creating a new my gallery goes out me this error 

A category has a non-existing parent, run the category manager to correct the problem!

File: /web/htdocs/www.nauticalink.it/home/Galleria_Nautica/include/functions.inc.php - Line: 971

Nibbler

Have you ran the category manager to correct the problem ?

nautica

I don't succeed in understanding how I must resolve the problem   
 
perfavore help me   
you can enter in the admin to see the problem. 
 
thanks

nautica

me not a User galleries 
This category contains albums that belong to Coppermine users. 
 
this problem

Joachim Müller