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

Galery clocked
https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=1847
Page 2 of 3

Author:  Merlin44 [ 10. Feb 2009, 15:07 ]
Post subject: 

When i remove it, the folder is displayed correctly.
But...
2 pictures :
DSC06704_DxO_rvb.jpg
DSC06499_DxO_rvb.jpg
are not displayed !?

PS : I've the same probleme in another folder (but not with the _counter.xml)
javascript:emoticon(':evil:')


_counter.xml
856 bytes

<?xml version='1.0'?><BESCHREIBUNG>
<BILD><NAME>DSCN1172.jpg</NAME><WERT>311</WERT><DOWNLOAD>0</DOWNLOAD><VOTES>1</VOTES><AVERAGE>5</AVERAGE></BILD>
<BILD><NAME>DSCN1313.jpg</NAME><WERT>214</WERT><DOWNLOAD>0</DOWNLOAD><VOTES>0</VOTES><AVERAGE>0</AVERAGE></BILD>
<BILD><NAME>DSCN1314.jpg</NAME><WERT>228</WERT><DOWNLOAD>0</DOWNLOAD><VOTES>0</VOTES><AVERAGE>0</AVERAGE></BILD>
<BILD><NAME>DSCN1322.jpg</NAME><WERT>17</WERT><DOWNLOAD>0</DOWNLOAD><VOTES>0</VOTES><AVERAGE>0</AVERAGE></BILD>
<BILD><NAME>DSCN1324.jpg</NAME><WERT>16</WERT><DOWNLOAD>0</DOWNLOAD><VOTES>0</VOTES><AVERAGE>0</AVERAGE></BILD>
<BILD><NAME>DSC06704_DxO_rvb.jpg</NAME><WERT>548</WERT><DOWNLOAD>0</DOWNLOAD><VOTES>5</VOTES><AVERAGE>5</AVERAGE></BILD>
<BILD><NAME>DSC06499_DxO_rvb.jpg</NAME><WERT>544</WERT><DOWNLOAD>0</DOWNLOAD><VOTES>5</VOTES><AVERAGE>5</AVERAGE></BILD>
</BESCHREIBUNG> :evil: :evil:

Author:  TinyWebGallery [ 10. Feb 2009, 15:12 ]
Post subject: 

but the xml looks fine.

The images are not displayed at all?
Maybe php has as problem with this 2 files.

- Michael

Author:  Merlin44 [ 10. Feb 2009, 15:35 ]
Post subject: 

take a look :
http://galerie.priveyes.com/index.php?t ... e%2FElodie
It's without the counter.xml

Author:  TinyWebGallery [ 10. Feb 2009, 15:37 ]
Post subject: 

this link:

http://galerie.priveyes.com/image.php?t ... xO_rvb.jpg

does fail. It seems that the files cannot be processed by php. Try to open them in a graphic software and save them again as jpg.

- Michael

Author:  TinyWebGallery [ 10. Feb 2009, 15:42 ]
Post subject: 

I downloaded the file and tested on my system and there it worked fine.

I checked the resulution and it should work because it's a little bit smaller than your php memory allows. But maybe the internal caching of TWG uses some memory too. Try to turn off the cache for testing.
I have an internal limit for caching of xml files but maybe this hits your limit ... Because the internal cache for xml data is 30% of your memory.

you can open inc/readxml.inc.php and set
$enhanced_debug = true;
at the top. Then you get memory debuging in the log file.

- Michael

Author:  Merlin44 [ 10. Feb 2009, 16:23 ]
Post subject: 

02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 72: fopen(modules/twg/counter/useronline.txt) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 73: fputs(): supplied argument is not a valid stream resource
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 74: fclose(): supplied argument is not a valid stream resource
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 79: fopen(modules/twg/counter/ip_data.txt) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 80: fclose(): supplied argument is not a valid stream resource
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 84: file(modules/twg/counter/ip_data.txt) [<a href='function.file'>function.file</a>]: failed to open stream: No such file or directory
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 86: Invalid argument supplied for foreach()
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 103: fopen(modules/twg/counter/ip_data.txt) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 105: fputs(): supplied argument is not a valid stream resource
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 107: fclose(): supplied argument is not a valid stream resource
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 119: fopen(modules/twg/counter/user_today.txt) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 121: fclose(): supplied argument is not a valid stream resource
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 152: fopen(modules/twg/counter/user_today.txt) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 153: fputs(): supplied argument is not a valid stream resource
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 154: fclose(): supplied argument is not a valid stream resource
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 179: fopen(modules/twg/counter/counter.txt) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 180: fwrite(): supplied argument is not a valid stream resource
02.10.2009 15:17:30 (ee) - ERROR 2 in 6/htdocs/modules/twg/inc/counter.inc.php, line 181: fclose(): supplied argument is not a valid stream resource
02.10.2009 15:17:30 (ee) - ERROR 2 in 16/htdocs/modules/twg/inc/bottom.inc.php, line 60: fopen(modules/twg/cache/www.priveyes.com.sav) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory
02.10.2009 15:17:30 (ee) - ERROR 2 in 16/htdocs/modules/twg/inc/bottom.inc.php, line 61: fclose(): supplied argument is not a valid stream resource
02.10.2009 15:21:03 (fr) - readXMLFile: Loading xml file: pictures/Famille/_caption.xml
02.10.2009 15:21:03 (fr) - readXMLFile: Memory status: 1442k/40960k
02.10.2009 15:21:03 (fr) - readXMLFile: reading from hd: pictures/Famille/_caption.xml
02.10.2009 15:21:03 (fr) - readXMLFile: Memory status after loading: 1456k/40960k
02.10.2009 15:21:03 (fr) - readXMLFile: Loading xml file: pictures/Famille/_comment.xml
02.10.2009 15:21:03 (fr) - readXMLFile: Memory status: 1456k/40960k
02.10.2009 15:21:03 (fr) - readXMLFile: reading from hd: pictures/Famille/_comment.xml
02.10.2009 15:21:03 (fr) - readXMLFile: Memory status after loading: 1457k/40960k
02.10.2009 15:21:07 (fr) - readXMLFile: Loading xml file: pictures/Famille/Beltoise/_caption.xml
02.10.2009 15:21:07 (fr) - readXMLFile: Memory status: 2328k/40960k
02.10.2009 15:21:07 (fr) - readXMLFile: reading from hd: pictures/Famille/Beltoise/_caption.xml
02.10.2009 15:21:07 (fr) - readXMLFile: Memory status after loading: 2336k/40960k
02.10.2009 15:21:07 (fr) - readXMLFile: Loading xml file: pictures/Famille/Beltoise/_comment.xml
02.10.2009 15:21:07 (fr) - readXMLFile: Memory status: 2336k/40960k
02.10.2009 15:21:07 (fr) - readXMLFile: reading from hd: pictures/Famille/Beltoise/_comment.xml
02.10.2009 15:21:07 (fr) - readXMLFile: Memory status after loading: 2341k/40960k
02.10.2009 15:21:07 (fr) - readXMLFile: Loading xml file: pictures/Famille/Elodie/_counter.xml
02.10.2009 15:21:07 (fr) - readXMLFile: Memory status: 2379k/40960k
02.10.2009 15:21:07 (fr) - readXMLFile: reading from hd: pictures/Famille/Elodie/_counter.xml
02.10.2009 15:21:07 (fr) - readXMLFile: Memory status after loading: 2381k/40960k
02.10.2009 15:21:07 (fr) - readXMLFile: Loading xml file: pictures/Famille/Beltoise/_caption.xml
02.10.2009 15:21:07 (fr) - readXMLFile: Memory status: 1548k/40960k
02.10.2009 15:21:07 (fr) - readXMLFile: reading from hd: pictures/Famille/Beltoise/_caption.xml
02.10.2009 15:21:07 (fr) - readXMLFile: Memory status after loading: 1562k/40960k
02.10.2009 15:21:07 (fr) - readXMLFile: Loading xml file: pictures/Famille/Beltoise/_comment.xml
02.10.2009 15:21:07 (fr) - readXMLFile: Memory status: 1562k/40960k
02.10.2009 15:21:07 (fr) - readXMLFile: reading from hd: pictures/Famille/Beltoise/_comment.xml
02.10.2009 15:21:07 (fr) - readXMLFile: Memory status after loading: 1567k/40960k
02.10.2009 15:21:11 (fr) - readXMLFile: Loading xml file: pictures/Famille/Elodie/_caption.xml
02.10.2009 15:21:11 (fr) - readXMLFile: Memory status: 1464k/40960k
02.10.2009 15:21:11 (fr) - readXMLFile: reading from hd: pictures/Famille/Elodie/_caption.xml
02.10.2009 15:21:11 (fr) - readXMLFile: Memory status after loading: 1478k/40960k
02.10.2009 15:21:11 (fr) - readXMLFile: Loading xml file: pictures/Famille/Elodie/_comment.xml
02.10.2009 15:21:11 (fr) - readXMLFile: Memory status: 1478k/40960k
02.10.2009 15:21:11 (fr) - readXMLFile: reading from hd: pictures/Famille/Elodie/_comment.xml
02.10.2009 15:21:11 (fr) - readXMLFile: Memory status after loading: 1479k/40960k
02.10.2009 15:21:15 (fr) - readXMLFile: Loading xml file: pictures//_caption.xml
02.10.2009 15:21:15 (fr) - readXMLFile: Memory status: 1573k/40960k
02.10.2009 15:21:15 (fr) - readXMLFile: reading from hd: pictures//_caption.xml
02.10.2009 15:21:15 (fr) - readXMLFile: Memory status after loading: 1587k/40960k
02.10.2009 15:21:15 (fr) - readXMLFile: Loading xml file: pictures//_comment.xml
02.10.2009 15:21:15 (fr) - readXMLFile: Memory status: 1587k/40960k
02.10.2009 15:21:15 (fr) - readXMLFile: reading from hd: pictures//_comment.xml
02.10.2009 15:21:15 (fr) - readXMLFile: Memory status after loading: 1588k/40960k
02.10.2009 15:21:21 (nl) - readXMLFile: Loading xml file: pictures/Evenements/Technopolis 2008/Equipes_1P/3-UNAL/_caption.xml
02.10.2009 15:21:21 (nl) - readXMLFile: Memory status: 1379k/40960k
02.10.2009 15:21:21 (nl) - readXMLFile: reading from hd: pictures/Evenements/Technopolis 2008/Equipes_1P/3-UNAL/_caption.xml
02.10.2009 15:21:21 (nl) - readXMLFile: Memory status after loading: 1393k/40960k
02.10.2009 15:21:21 (nl) - readXMLFile: Loading xml file: pictures/Evenements/Technopolis 2008/Equipes_1P/3-UNAL/_comment.xml
02.10.2009 15:21:21 (nl) - readXMLFile: Memory status: 1393k/40960k
02.10.2009 15:21:21 (nl) - readXMLFile: reading from hd: pictures/Evenements/Technopolis 2008/Equipes_1P/3-UNAL/_comment.xml
02.10.2009 15:21:21 (nl) - readXMLFile: Memory status after loading: 1397k/40960k
02.10.2009 15:21:21 (nl) - ERROR 8 in cs/modules/twg/inc/topnavigation.inc.php, line 239: Undefined variable: lang_menu_top_tags
02.10.2009 15:21:21 (nl) - readXMLFile: Loading xml file: pictures/Evenements/Technopolis 2008/Equipes_1P/3-UNAL/JPEG/_counter.xml
02.10.2009 15:21:21 (nl) - readXMLFile: Memory status: 2267k/40960k
02.10.2009 15:21:21 (nl) - readXMLFile: reading from hd: pictures/Evenements/Technopolis 2008/Equipes_1P/3-UNAL/JPEG/_counter.xml
02.10.2009 15:21:21 (nl) - readXMLFile: Memory status after loading: 2275k/40960k
02.10.2009 15:21:43 (fr) - readXMLFile: Loading xml file: ../pictures/Evenements/Foire 2008/_caption.xml
02.10.2009 15:21:43 (fr) - readXMLFile: Memory status: 1261k/40960k
02.10.2009 15:21:43 (fr) - readXMLFile: reading from hd: ../pictures/Evenements/Foire 2008/_caption.xml
02.10.2009 15:21:43 (fr) - readXMLFile: Memory status after loading: 1289k/40960k
02.10.2009 15:21:43 (fr) - readXMLFile: Loading xml file: ../pictures/Evenements/Foire 2008/_comment.xml
02.10.2009 15:21:43 (fr) - readXMLFile: Memory status: 1293k/40960k
02.10.2009 15:21:43 (fr) - readXMLFile: reading from hd: ../pictures/Evenements/Foire 2008/_comment.xml
02.10.2009 15:21:43 (fr) - readXMLFile: Memory status after loading: 1306k/40960k
02.10.2009 15:21:43 (fr) - readXMLFile: Loading xml file: ../pictures/Evenements/Foire 2008/_counter.xml
02.10.2009 15:21:43 (fr) - readXMLFile: Memory status: 1328k/40960k
02.10.2009 15:21:43 (fr) - readXMLFile: reading from hd: ../pictures/Evenements/Foire 2008/_counter.xml
02.10.2009 15:21:43 (fr) - readXMLFile: Memory status after loading: 1369k/40960k

Author:  TinyWebGallery [ 10. Feb 2009, 16:30 ]
Post subject: 

o.k. - then memory is not the problem. 2 MB of 40 MB. There should be plenty left.

I just don't understand why I get a 500 from the server. Normally a php error should be thrown. Have you tried to make the image smaller and retry?

- Michael

Author:  Merlin44 [ 10. Feb 2009, 16:34 ]
Post subject: 

yes and renamed it too.

Author:  TinyWebGallery [ 10. Feb 2009, 16:38 ]
Post subject: 

but is still has the same resolution. Can you e.g. decrease it to something smaller than 1944x2592. Maybe only 1600 x 2000.

- Michael

Author:  Merlin44 [ 10. Feb 2009, 17:03 ]
Post subject: 

I've a field with french letter in exif for the pic not displayed....
maybe it can help to understand ?

Author:  Merlin44 [ 10. Feb 2009, 17:08 ]
Post subject: 

It's not the exif.
It's the resolution of the file :shock:

Author:  TinyWebGallery [ 10. Feb 2009, 17:13 ]
Post subject: 

I always talk about the resolution. Because the memory that is needed is for the uncompressed file ;).

- Michael

Author:  Merlin44 [ 10. Feb 2009, 17:49 ]
Post subject: 

i still have the same probleme with the counter file :s

Author:  TinyWebGallery [ 11. Feb 2009, 10:54 ]
Post subject: 

but if you go into the folder a new one is created that works?

- michael

Author:  Merlin44 [ 11. Feb 2009, 19:03 ]
Post subject: 

No Michael...
Nothing work as well as before. around 1.74 or 1.7.5
I try and try and retry
i use the reset bandwith each time to see which folder doesnt work.
But... each time it's different.
why everything work since the first time, and nothing work now ?
i'm tired to look on each part of your code to see what is changed :(
It's not your fault, but for the first time i cant understand why.

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