Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Bunny

Pages: [1] 2
1
Quote
DB Error: Bad SQL Query: SELECT u.*, l.* FROM 4images_users u, 4images_lightboxes l WHERE u.id = 1 AND l.user_id = u.id
Unknown column 'u.id' in 'where clause'

DB Error: Bad SQL Query: SELECT * FROM 4images_users WHERE id = 1
Unknown column 'id' in 'where clause'

Warning: Cannot add header information - headers already sent by (output started at /home/www/web1/html/wigfun/home/bilder/includes/db_mysql.php:188) in /home/www/web1/html/wigfun/home/bilder/includes/sessions.php on line 114

Warning: Cannot add header information - headers already sent by (output started at /home/www/web1/html/wigfun/home/bilder/includes/db_mysql.php:188) in /home/www/web1/html/wigfun/home/bilder/includes/sessions.php on line 114

DB Error: Bad SQL Query: SELECT s.member_id, s.start_session, s.ip_address, u.id, u.mgroup, u.name FROM board_sessions s LEFT JOIN 4images_users u ON (u.id = s.member_id) WHERE s.start_session >= 1038776673 ORDER BY u.id ASC, s.ip_address ASC
Unknown column 'u.id' in 'field list'

DB Error: Bad SQL Query: SELECT DISTINCT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.id = i.user_id) WHERE i.image_active = 1 AND i.cat_id NOT IN (0, 18, 17, 40, 5, 37, 2, 19, 39, 6, 4, 1, 20, 12, 8, 16, 21, 7, 24, 9, 27, 10, 42, 14, 31, 23, 36, 15, 25, 30, 26, 32, 28, 29, 34, 47, 33, 48, 35, 38, 49, 44, 52, 55, 46, 56, 53, 54, 57) AND c.cat_id = i.cat_id ORDER BY RAND()
Unknown column 'u.name' in 'field list'

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id IN (0, 43, 51, 41) ORDER BY i.image_date DESC LIMIT 3
Unknown column 'u.name' in 'field list'

Warning: Supplied argument is not a valid MySQL result resource in /home/www/web1/html/wigfun/home/bilder/includes/db_mysql.php on line 116


 :?:

2
Mods & Plugins (Requests & Discussions) / Downloadbegrenzung
« on: June 25, 2002, 05:44:01 PM »
Hat einer ne Idee wie ich die Anzahl der Downloads bei großen Datein vorgeben kann.

3
Discussion & Troubleshooting / [RECHTE]User, Group
« on: June 17, 2002, 09:29:32 PM »
Ohh thx, Sorry hatte ich nicht gefunden.

4
Discussion & Troubleshooting / [RECHTE]User, Group
« on: June 17, 2002, 08:22:08 PM »
Ich habe folgendes Problem. Wenn ich die Bilder hochlade, dann ist der User und die Groupe nicht des FTP-Zugangs. Wenn man dann auf die Seite kommen dann Fehlermeldungen. Ich muss mich dann als root einloggen und das per Hand ändern. Habe ich was bei php selber falsch eingestellt, oder woran könnte das liegen. Ich habe aber noch die Beta Version.  

Quote

Warning: SAFE MODE Restriction in effect. The script whose uid is 1036 is not allowed to access ./data/media/18/KIF_2548_de.jpg owned by uid 30 in /home/www/web1/html/wigfun/home/bilder/includes/functions.php on line 284

Warning: getimagesize: Unable to open './data/media/18/KIF_2548_de.jpg' for reading. in /home/www/web1/html/wigfun/home/bilder/includes/functions.php on line 284

Warning: SAFE MODE Restriction in effect. The script whose uid is 1036 is not allowed to access ./data/media/18/KIF_2548_de.jpg owned by uid 30 in /home/www/web1/html/wigfun/home/bilder/includes/functions.php on line 284

Warning: getimagesize: Unable to open './data/media/18/KIF_2548_de.jpg' for reading. in /home/www/web1/html/wigfun/home/bilder/includes/functions.php on line 284


Schon mal thx

5
Mods & Plugins (Requests & Discussions) / einige extras
« on: June 10, 2002, 05:40:18 PM »
Code: [Select]

<?php
 define
&#40;'ROOT_PATH', './'&#41;;
 
include&#40;ROOT_PATH.'config.php'&#41;;

 
$dbank mysql_connect&#40;$db_host, $db_user,  $db_password&#41;;
 
if &#40;! $dbank&#41; die&#40; "Keine Verbindung!"&#41;;
 
mysql_select_db&#40;$db_name, $dbank&#41; or die&#40;"Konnte Datenbank nicht öffnen&#58;".mysql_error&#40;&#41;&#41;;

 
$com_sel mysql_query&#40; "SELECT * FROM ".$table_prefix."comments"&#41;;
 
$anzahl mysql_num_rows&#40; $com_sel&#41;;
 
echo $anzahl;

 
mysql_close&#40;$dbank&#41;;
php?>



So könnte man das machen. Aber ich lerne noch PHP und weiß jetzt nit ob das so doll gecodet ist.

6
Installation, Update & Configuration / Einige Probleme
« on: June 04, 2002, 12:14:43 PM »
Wozu löschen? Versuch erstmal die Dateien aus dem Verzeichnis zu löschen und dann das Verzeichnis selbst.

7
1. Ich wollte so etwas programmieren. Nur leider bekomme ich das mit der Datenbank nicht so ganz hin. Wie kann ich den die Einzelnen Spalten auslesen? Bei meinen versuchen bekomme ich nur blöse Fehlermeldungen und ich habe keinen Plan wo ich ansetzen soll.  :cry:  

2. Könnte man $anzahl nicht mit in Cookie packen. Dann könnte man die Werte vergleichen! Wenn dann der Wert im Cokkie kleiner ist, wurde ein neues Kommentar geschrieben und ...

new_comment.php
Code: [Select]

<?php
 define
&#40;'ROOT_PATH', './'&#41;;
 
include&#40;ROOT_PATH.'config.php'&#41;;

 
$dbank mysql_connect&#40;$db_host, $db_user,  $db_password&#41;;
 
if &#40;! $dbank&#41; die&#40; "Keine Verbindung!"&#41;;
 
mysql_select_db&#40;$db_name, $dbank&#41; or die&#40;"Konnte Datenbank nicht öffnen&#58;".mysql_error&#40;&#41;&#41;;

 
$com_sel mysql_query&#40; "SELECT * FROM ".$table_prefix."comments"&#41;;
 
$anzahl mysql_num_rows&#40; $com_sel&#41;;
 
echo $anzahl;

 
mysql_close&#40;$dbank&#41;;
php?>


mfg Benjamin

8
Discussion & Troubleshooting / Probleme beim Datenbank-Backup
« on: May 28, 2002, 12:20:17 PM »
Das Probleme hatte ich auch. Das Backup hatte er aber trotzdem erstellt. (Aber nicht immer vollständig!)Das liegt wohl wieder an der alten MySQL-Version.

9
In der Version 1.5beta ist das schon drin, das die Beschreibung unterhalb ist.

mfg benjamin

10
Feedback & Suggestions / Request: Bilder in 2 Auflösungen anzeigen
« on: May 19, 2002, 01:31:18 PM »
:?:

Versteh nicht? Ist doch schon drin!!

11
1. Das Bild kannst du im Adminbereich löschen.
2. WS-FTP Pro zeigt dir nicht wirklich den aktullen Stand einer Datei an. Das ist mist. Wenn du z.b.

File A: 777 setzt
File B: 666 setzt
File A: anschaust zeigt er dir 666 an, das ist natürlich falsch.

mfg  Benjamin

12
Du kannst doch einen beliegen Download angeben. Ich mache es dann so, das ich das Bild packe und selber wo hochlade. Dann gebe ich dor die URL und fertig. Oder was meinst du?

p.s. Das Design deiner Page ist voll fett!

13
Ich habe es versuch. Ich glaub du hast die die Rechte im daten Verzeichnis nicht richtig gesetz. Wenn ich ne URL angebe, gehte es ja. Alos, test kannst du wieder löschen:  :lol:

14
Mach das doch So:

Thumbnail: 200x150
Bild         :  450xbreite angepasst
Download:  Orginal Länge und breite, und nur für reg. User

15
http://www.wigfun.de/home/bilder/details.php?image_id=88

Noch nciht so gut, aber zum testen reich es. Sind noch ein,zwei Fehler drin.

mfg Benjamin

Pages: [1] 2