Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Counter meckert rum...
https://www.tinywebgallery.com/forum/viewtopic.php?f=7&t=385
Page 1 of 1

Author:  Olox [ 5. Jul 2006, 23:24 ]
Post subject:  Counter meckert rum...

Moin, moin!
Ich gebe es zu: ich habe eine Menge an dem Code rumgeschraubt- soviel, das ich jetzt immer bei betrachten der Slideshow im Browserfenster von IE dem Hinweis bekomme "Es sind Fehler auf der Seite aufgetreten". Die Slideshow läuft zwar, aber im Debugfenster vom Admin- Bereich werden für jedes Foto angezeigt:

07.05.2006 22:20:34 - ERROR 2 in tml/galleryPHP/inc/filefunctions.inc.php, line 995: fopen(cache/_rotation_not_available.jpg): failed to open stream: No such file or directory

07.05.2006 22:20:34 - ERROR 2 in tml/galleryPHP/inc/filefunctions.inc.php, line 716: opendir(language): failed to open dir: No such file or directory

07.05.2006 22:20:34 - ERROR 2 in tml/galleryPHP/inc/filefunctions.inc.php, line 718: readdir(): supplied argument is not a valid Directory resource

07.05.2006 22:20:34 - ERROR 2 in tml/galleryPHP/inc/filefunctions.inc.php, line 723: closedir(): supplied argument is not a valid Directory resource

07.05.2006 22:20:34 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 51: fopen(counter/useronline.txt): failed to open stream: No such file or directory

07.05.2006 22:20:34 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 52: fputs(): supplied argument is not a valid stream resource

...hab da mal nachgeschaut (ersten drei Fehler), und ich habe alle Languages- files (bis auf german) gelöscht, damit ich diese Sprachauswahl umgehe... war wohl zu viel...

Und zu den Felhermeldungen im counter Bereich: ich habe ihn im Admin- Bereich ausgeblendet, die Dateien (useronline.txt,...) liegen auf dem Remoterechner- auch in dem Ordner "counter"...

Irgendwie läuft ja alles (unter IE), aber schöner wäre es natürlich, wenn ich diese Fehler noch wegbekäme...
Kannst du mir helfen? Wirst du aus meiner Beschreibung überhaupt schlau?!?
Meine Gallerie: #removed_broken_link

Author:  TinyWebGallery [ 6. Jul 2006, 09:20 ]
Post subject: 

wegen dem language file - du must die flagen dazu löschen - ich überprüf, ob die das sind (wegen dem dropdown) - wenn das dazugehörende .php file dann fehlt kracht es. Evtl ist es das.

Dann hast du die default language auf die letzte sprache gestellt? - ich hab das irgendwann mal eingebaut, das man das nicht mehr braucht, weis aber nicht mehr genau wann ;).

wegen dem counter - lösch die Dateien aus dem counterverzeichnis mal. wenn du dann imer noch meldungen bekommst, schick mir bitte mal kurz deine config.php und die my_config.php. passen die rechte auf dem counter verzeichnis?

was mich stört ist die fehler mit dem rotate ... hast du evtl. eine installation von deiner lokalen platte direkt ins netz kopiert? Dann lösch nämlich mal die cache verzeichnisse cache, counter

Gruß,
Michael

Author:  TinyWebGallery [ 6. Jul 2006, 09:29 ]
Post subject: 

wegen dem rotation file.
Ich hab da ne funktion gefunden, wo das passieren könnte - Ich weis aber leider nicht genau, welche Version du hast - Schickst du mir bitte mal dein inc\filelfunctions.inc.php?

Danke

Author:  TinyWebGallery [ 6. Jul 2006, 09:32 ]
Post subject: 

oder wenn du die ratation buttons eh nicht brauchst,
erzeug einfach eine leere datei mit dem namen _rotation_not_available.jpg
im cache folder!

Author:  Olox [ 6. Jul 2006, 13:23 ]
Post subject: 

hab jetzt einfach mal ALLES im Ordener counter gelöscht, ein wenig in der Galerie rumgeklickt, und bis jetzt wird noch keine debug- Nachticht im Admin- Breich angezeigt... :D

die Rechte für den Ordner counter: lesen, schreiben, ausführen: alles erlaubt von jedem!

Author:  TinyWebGallery [ 6. Jul 2006, 13:59 ]
Post subject: 

wunderbar ;)

Author:  Olox [ 9. Jul 2006, 11:18 ]
Post subject: 

es geht leider wieder los...:

07.06.2006 18:05:00 - ERROR 2 in tml/galleryPHP/inc/filefunctions.inc.php, line 995: fopen(cache/_rotation_not_available.jpg): failed to open stream: No such file or directory

07.06.2006 18:05:00 - ERROR 2 in tml/galleryPHP/inc/filefunctions.inc.php, line 996: fclose(): supplied argument is not a valid stream resource

07.06.2006 18:05:00 - ERROR 2 in tml/galleryPHP/inc/filefunctions.inc.php, line 997: imagejpeg(): Unable to open 'cache/_rotation_not_available.jpg' for writing

07.06.2006 18:05:00 - ERROR 2 in tml/galleryPHP/inc/filefunctions.inc.php, line 716: opendir(language): failed to open dir: No such file or directory

07.06.2006 18:05:00 - ERROR 2 in tml/galleryPHP/inc/filefunctions.inc.php, line 718: readdir(): supplied argument is not a valid Directory resource

07.06.2006 18:05:00 - ERROR 2 in tml/galleryPHP/inc/filefunctions.inc.php, line 723: closedir(): supplied argument is not a valid Directory resource

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 51: fopen(counter/useronline.txt): failed to open stream: No such file or directory

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 52: fputs(): supplied argument is not a valid stream resource

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 53: fclose(): supplied argument is not a valid stream resource

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 58: fopen(counter/ip_data.txt): failed to open stream: No such file or directory

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 59: fclose(): supplied argument is not a valid stream resource

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 63: file(): Unable to access counter/ip_data.txt

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 63: file(counter/ip_data.txt): failed to open stream: Success

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 65: Invalid argument supplied for foreach()

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 82: fopen(counter/ip_data.txt): failed to open stream: No such file or directory

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 84: fputs(): supplied argument is not a valid stream resource

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 86: fclose(): supplied argument is not a valid stream resource

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 98: fopen(counter/user_today.txt): failed to open stream: No such file or directory

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 100: fclose(): supplied argument is not a valid stream resource

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 131: fopen(counter/user_today.txt): failed to open stream: No such file or directory

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 132: fputs(): supplied argument is not a valid stream resource

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 133: fclose(): supplied argument is not a valid stream resource

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 146: fopen(counter/counter.txt): failed to open stream: No such file or directory

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 147: fwrite(): supplied argument is not a valid stream resource

07.06.2006 18:05:00 - ERROR 2 in eb60/html/galleryPHP/inc/counter.inc.php, line 148: fclose(): supplied argument is not a valid stream resource

Ich werde einach mal ein neues "_rotation_not_available.jpg" in den cache laden...
Aber was hat er bloß immer mit seinem armen kleinen counter?!?

Author:  TinyWebGallery [ 9. Jul 2006, 13:55 ]
Post subject: 

was mich am meisten stört sind solche Sachen wie

Unable to access counter/ip_data.txt

passen die rechte vom counter verzeichnis?

Du kannst das Verzeichnis mal löschen und dann mit dem TWG Admin anlegen und die rechte auf 777 setzen.

Ist bei dir safemode enabled?
bzw. läuft der counter oder steht der immer auf 0?

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/