[x] Navigation

[x] Wer ist wo
 Bots:
1: Google > Forum 9.x
2: Baidu > Downloads
 Visitors:
1: Forum 9.x
2: Startseite
3: Forum 9.x

[x] Languages

[x] Design
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.

[x] Downloads (Top)

Bilder Albem leer?!? Obwohl was drin ist.

Author Message
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Bilder Albem leer?!? Obwohl was drin ist.
Posted: 17.05.2006 12:44
Reply with quote

Moin,

wieder einmal hat sich etwas merkwürdiges ergeben.

Ich gehe gestern nachmittag auf meine Seite. Alles normal im Album.

Dann gehe ich gestern abend auf die Seite, und alle Alben werden als leer dargestellt. Obwohl die Bilder drin sind. WORAN LIEGT DAS!?

Ich habe bis dahin nichts verändert. Nichts am Code oder sonstiges...

Sehen könnt ihr das z.b. hier:

emsland-partys.de/inde...ine&cat=59

Kann mir da jemand helfen??

_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Poldi
Moderator


Joined: Nov 14, 2004
Posts: 705

PostPost subject: Re: Bilder Albem leer?!? Obwohl was drin ist.
Posted: 17.05.2006 19:49
Reply with quote

Hmm, also, mit Verlaub, aber langsam hab ich das Gefühl, daß du dir mal einen anständigen Hoster suchen solltest ...

Du hast ja dauernd Probleme, die sonst keiner hat und das, obwohl du (angeblich) nichts änderst ... ergo bleibt nur der Hoster als Verursacher übrig, denn die PHP-Scripte schreiben sich nicht von selber um.

Wir hatten bei unserem ersten Hoster auch das Problem, daß Skripte von heute auf Morgen nicht mehr funktionierten o.ä. (damals noch unter PUKE), ein Wechsel hat die Sache gelöst ...

Am besten nen eigenen Server ...

_________________
gG,
Poldi
www.green-dragon.de (Dragonfly 9.2.1)
www.tampones.de (Dragonfly 9.2.1)
www.bfg-deggendorf.de (Dragonfly 9.2.1)
www.sexy-goths.de (Dragonfly 9.1.2.1)
www.gig-hunter.de (deceased)
www.green-dragon.net (Dragonfly CVS ... Testseite)

Poldi's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.0.27-5.0.18/4.4.9-5.2.1/9.1.0.0-9.2.1
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Bilder Albem leer?!? Obwohl was drin ist.
Posted: 17.05.2006 22:49
Reply with quote

Manchmal komm ich mir schon bisschen verarscht vor...

Ich habe mal das selbe in ein Test Verzeichnis Kopiert, und neu installiert. Dann bilder in die Gallery eingefügt. Sind die selben dateien. Aber dort taucht der Fehler nicht auf.

Als ob da so nen Script Monster immer mal so bisschen rum ändert, damit sachen verschwinden.


Blöde ist, Root Server kann ich mir noch nicht leisten. Obwohl es doch mitlaweile echt sinnig wäre. *gg*

_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Poldi
Moderator


Joined: Nov 14, 2004
Posts: 705

PostPost subject: Re: Bilder Albem leer?!? Obwohl was drin ist.
Posted: 17.05.2006 23:18
Reply with quote

Rootserver sind nicht viel teurer, als ein gutes Webpaket .. aber dafür braucht man Erfahrung im Umgang mit den Teilen, sonst is der Server schneller gehackt, als man gucken kann ...
aber ein anständiges Hostingpaket bei 1&1, Strato, Schlund o.ä. ist nicht wirklich teuer und DA spielt nicht dauernd wer an den Scripten rum.

_________________
gG,
Poldi
www.green-dragon.de (Dragonfly 9.2.1)
www.tampones.de (Dragonfly 9.2.1)
www.bfg-deggendorf.de (Dragonfly 9.2.1)
www.sexy-goths.de (Dragonfly 9.1.2.1)
www.gig-hunter.de (deceased)
www.green-dragon.net (Dragonfly CVS ... Testseite)

Poldi's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.0.27-5.0.18/4.4.9-5.2.1/9.1.0.0-9.2.1
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Bilder Albem leer?!? Obwohl was drin ist.
Posted: 19.05.2006 17:17
Reply with quote

.... mhmh... Ich habe gesehen das mehrer User das problem haben, aber auch im Englishen Bug system noch keine Antwort ist.... das natürlich echt scheisse.... wo könnte sich der fehler den aufhalten? den in der Function.inc kann es nicht sein, habe diese mehrere male ausgewechselt mir Orginal dateien und so... sehr merkwürdig...
_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
designSumpf
Agent


Joined: Dec 25, 2004
Posts: 88
Location: Burgbernheim (Franken)

PostPost subject: Re: Bilder Albem leer?!? Obwohl was drin ist.
Posted: 19.05.2006 21:10
Reply with quote

Vielleicht spielen anderer Features eine Rolle ?
Wenn ich in den Englischen Boards richtig gelesen habe, kann z.B. LEO seltsame Sachen in anderen Modulen verursachen.

designsumpf

Ich hatte noch nie Probleme mit der Gallerie, einzig das Layout finde ich unübersichtlich und bescheuert.

_________________
Glaube nicht alles, was du denkst

designSumpf's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache /MySQL 5.0.32/PHP 5.2.0-8/DF 9.2.1
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Bilder Albem leer?!? Obwohl was drin ist.
Posted: 21.05.2006 15:30
Reply with quote

LEO? Achja, ne dass is bei mir nich aktiv
_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Bilder Albem leer?!? Obwohl was drin ist.
Posted: 31.05.2006 12:23
Reply with quote

Kann mir den immer noch keiner Helfen????
_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Poldi
Moderator


Joined: Nov 14, 2004
Posts: 705

PostPost subject: Re: Bilder Albem leer?!? Obwohl was drin ist.
Posted: 31.05.2006 14:48
Reply with quote

Liegt wohl daran, daß niemand das Problem nachvollziehen kann ...

Schon versucht, Theme und Sprache zu ändern und geguckt obs dann geht ?

Coppermine macht ja einiges an Murks, wenn das Theme oder die Language-datei nicht 100% korrekt sind. (z.B. verschwindet die Admin-Sektion usw. )

_________________
gG,
Poldi
www.green-dragon.de (Dragonfly 9.2.1)
www.tampones.de (Dragonfly 9.2.1)
www.bfg-deggendorf.de (Dragonfly 9.2.1)
www.sexy-goths.de (Dragonfly 9.1.2.1)
www.gig-hunter.de (deceased)
www.green-dragon.net (Dragonfly CVS ... Testseite)

Poldi's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.0.27-5.0.18/4.4.9-5.2.1/9.1.0.0-9.2.1
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Bilder Albem leer?!? Obwohl was drin ist.
Posted: 01.06.2006 13:32
Reply with quote

Jo das hab ich schon geguckt, da is alles soweit richtig, habs auch schon mit der englishen datei versucht... nichts...

hier is mal der code aus der Index.php der dafür zuständig ist:

Array:
// Inserts a thumbnail if the album contains 1 or more images
        $visibility = $alb_thumb['visibility'];
        if ($visibility == '0' || $visibility == (FIRST_USER_CAT + USER_ID) || $visibility == 

$USER_DATA['group_id'] || USER_IS_ADMIN || user_ingroup($visibility,$USER_DATA['user_group_list_cp'])) 

{
            if ($count > 0) { // Inserts a thumbnail if the album contains 1 or more images
                if ($alb_thumb['filename']) {
                    $picture = &$alb_thumb;
                } else {
                    $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight FROM 

{$CONFIG['TABLE_PICTURES']} WHERE pid='{$alb_stat['last_pid']}'";
                    $result = $db->sql_query($sql, false,__FILE__,__LINE__);
                    $picture = $db->sql_fetchrow($result);
                    $db->sql_freeresult($result);
                } 
                $image_size = compute_img_size($picture['pwidth'], $picture['pheight'], 

$CONFIG['alb_list_thumb_size']);
                $alb_list[$alb_idx]['thumb_pic'] = "<img src=\"" . get_pic_url($picture, 'thumb') . 

"\" {$image_size['geom']} title=\"".$alb_thumb['title']."\" alt=\"".$alb_thumb['title']."\" 

border=\"0\" class=\"image\" />";
            } else { // Inserts an empty thumbnail if the album contains 0 images
                $image_size = compute_img_size(100, 75, $CONFIG['alb_list_thumb_size']);
                $alb_list[$alb_idx]['thumb_pic'] = "<img src=\"$CPG_M_DIR/images/nopic.jpg\" 

{$image_size['geom']} alt=\"".NO_IMG_TO_DISPLAY."\" title=\"".NO_IMG_TO_DISPLAY."\" border=\"0\" 

class=\"image\" />";
            } 
        } elseif ($CONFIG['show_private']) {
            $image_size = compute_img_size(100, 75, $CONFIG['alb_list_thumb_size']);
            $alb_list[$alb_idx]['thumb_pic'] = "<img src=\"$CPG_M_DIR/images/private.jpg\" 

{$image_size['geom']} alt=\"".MEMBERS_ONLY."\" title=\"".MEMBERS_ONLY."\" border=\"0\" class=\"image\" 

/>";
        } 

        // Prepare everything
        $last_upload_date = $count ? localised_date($alb_stat['last_upload'], LASTUP_DATE_FMT) : '';
        $alb_list[$alb_idx]['aid'] = $alb_thumb['aid'];
        $alb_list[$alb_idx]['album_title'] = $alb_thumb['title'];
        $alb_list[$alb_idx]['album_desc'] = decode_bbcode($alb_thumb['description']);
        $alb_list[$alb_idx]['pic_count'] = $count;
        $alb_list[$alb_idx]['last_upl'] = $last_upload_date;
        $alb_list[$alb_idx]['album_info'] = sprintf(N_PICTURES, $count) . ($count ? 

sprintf(LAST_ADDED, $last_upload_date) : "");
        $alb_list[$alb_idx]['album_adm_menu'] = (GALLERY_ADMIN_MODE || (USER_ADMIN_MODE && $cat == 

USER_ID + FIRST_USER_CAT)) ? html_albummenu($alb_thumb['aid']) : '';
    }

    if ($buffer) {
        ob_start();
        theme_display_album_list_cat($alb_list, $nbAlb, $cat, $PAGE, $totalPages);
        $cat_albums = ob_get_contents();
        ob_end_clean();
        return $cat_albums;
    }
    else{
        theme_display_album_list($alb_list, $nbAlb, $cat, $PAGE, $totalPages);
       }
}

_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Poldi
Moderator


Joined: Nov 14, 2004
Posts: 705

PostPost subject: Re: Bilder Albem leer?!? Obwohl was drin ist.
Posted: 01.06.2006 19:44
Reply with quote

Ähm, darf ich fragen, welche Version das sein soll ?
bzw. hast du daran was geändert ?

Ich hab mal verglichen, und einen entscheidenden Unterschied zwischen dem Orginal-Index.php aus der 9.0.6.1 und deiner Index.php gefunden ...

Orginal :
Array:
if ($visibility == '0' || $visibility == (FIRST_USER_CAT + USER_ID) || $visibility == $USER_DATA['group_id'] || USER_IS_ADMIN)

deine Version :
Array:
if ($visibility == '0' || $visibility == (FIRST_USER_CAT + USER_ID) || $visibility == $USER_DATA['group_id'] || USER_IS_ADMIN || user_ingroup($visibility,$USER_DATA['user_group_list_cp']))

Der Teil "user_ingroup(" dürfte der Übeltäter sein, da ja, falls der User nicht in der passenden Gruppe ist, die Alben als leer angezeitg werden und die Funktion scheint schlicht und ergreifend murks zu sein Smile

_________________
gG,
Poldi
www.green-dragon.de (Dragonfly 9.2.1)
www.tampones.de (Dragonfly 9.2.1)
www.bfg-deggendorf.de (Dragonfly 9.2.1)
www.sexy-goths.de (Dragonfly 9.1.2.1)
www.gig-hunter.de (deceased)
www.green-dragon.net (Dragonfly CVS ... Testseite)

Poldi's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.0.27-5.0.18/4.4.9-5.2.1/9.1.0.0-9.2.1
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Bilder Albem leer?!? Obwohl was drin ist.
Posted: 05.06.2006 23:47
Reply with quote

...

Ich fress nen Besenstiel....

Ich habe gerade mal das was du meintest auskommandiert.

Danach hatte ich erstmal ne blank Site. Tat nicht mehr, dann hab ich den Code, der hier war eben wieder drüber gemacht, nachdem das weg machen des auskommandieren nicht geklappt hatte,

immer noch Blank Site... dann hab ich ne Alte index.php, auch, von der selben version, mit der Index.php von mir überschrieben. (Beides die selben Dateien) Und hab diese Hochgeladen.

Und stell dir mal vor..... nun Funktioniert es wieder.....

Das is doch zum Mäuse melken...

_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Bilder Albem leer?!? Obwohl was drin ist.
Posted: 06.06.2006 11:45
Reply with quote

Guck Guck....

lol, es hat sich wieder mal was aufgetan,

jetzt sind zwar die Alben Bilder wieder da, aber nun funktionieren die User Galleryn nicht mehr ... da bekomm ich nun immer eine tolle Mail mit nem SQL error...

On /index.php?name=coppermine&cat=1
While executing query "SELECT , , user_avatar as avatar, user_avatar_type, a.title, COUNT(DISTINCT a.aid) as alb_count, COUNT(DISTINCT pid) as pic_count, MAX(pid) as thumb_pid FROM cms_users AS u INNER JOIN cms_cpg_albums AS a ON (category = 10000 + AND visibility IN (0,3))LEFT JOIN cms_cpg_pictures AS p ON (p.aid = a.aid AND approved = 'YES') GROUP BY ORDER BY "

the following error occured: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' , user_avatar as avatar, user_avatar_type, a.title, COUNT(DISTINCT a.aid) as al' at line 1

In: /kunden/115018_49811/webseiten/Emsland-Party/modules/coppermine/index.php on line: 184


hier mal die Lines aus der Index:

Array:
function list_users()
{
    global $db, $CONFIG, $PAGE, $CPG_M_DIR, $CPG_M_URL;
    global $template_user_list_info_box;
    global $field_user_id, $field_user_name;
    $sql = "SELECT $field_user_id, " .
           "$field_user_name, user_avatar as avatar, user_avatar_type, a.title, " .
           "COUNT(DISTINCT a.aid) as alb_count, " .
           "COUNT(DISTINCT pid) as pic_count, " .
           "MAX(pid) as thumb_pid " .
           "FROM {$CONFIG['TABLE_USERS']} AS u " .
           "INNER JOIN {$CONFIG['TABLE_ALBUMS']} AS a ON (category = " . FIRST_USER_CAT . " + $field_user_id " . " AND ".VIS_GROUPS.")".
           "LEFT JOIN {$CONFIG['TABLE_PICTURES']} AS p ON (p.aid = a.aid AND approved = 'YES') " .
           "GROUP BY $field_user_id ORDER BY $field_user_name";
    $result = $db->sql_query($sql, false,__FILE__,__LINE__);
    $user_count = $db->sql_numrows($result);
    if (!$user_count) {
        msg_box(USER_LIST, NO_USER_GAL, '', '', '100%');
        $db->sql_freeresult($result);
        return;
    } 

Line 184 ist :
Array:
$result = $db->sql_query($sql, false,__FILE__,__LINE__);

Woran kann das nun schon wieder liegen?

_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Bilder Albem leer?!? Obwohl was drin ist.
Posted: 21.06.2006 10:57
Reply with quote

Weiß den keiner was?
_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page    Forum Index > > Installation & Upgrades 9.x
Page 1 of 1
All times are GMT + 1 Hour



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum




Interactive software released under GNU GPL, Code Credits, Privacy Policy