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

Register
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=2996
Page 4 of 4

Author:  TinyWebGallery [ 30. Nov 2017, 02:00 ]
Post subject:  Re: Register

this looks o.k. and a 5.6 I run on my demos: http://www.tinywebgallery.com/demo/info.php

So actually I don't know what could be the problem. Do you need any new features of 2.4.4 ?

Best, Michael

Author:  mairchik [ 30. Nov 2017, 02:18 ]
Post subject:  Re: Register

I can stay with 2.4.1 but I try always to update to the latest version to keep up. I like a new masonry style which looks good and seems to work faster and would try it but no choice then as to stay with previous version if the new one has these problems.

Author:  TinyWebGallery [ 30. Nov 2017, 02:52 ]
Post subject:  Re: Register

I think the masonry is really cool too :): This is why I implemented it.

Can you make a clean parallel installation on your server?
I would like to solve this issue but I never had this on any of my systems...

Best, Michael

Author:  mairchik [ 1. Dec 2017, 21:48 ]
Post subject:  Re: Register

Dear Michael,
I made a clean parallel installation using twg2.4.4. from the server. The same problem still happens, below is a debug, smth wrong with xml read with this new version unlike twg2.4.1 which worked fine. Could you please look:

12.01.2017 20:44:19 (en) - ERROR 2 in 9/5/handmadebags/photos/admin/helper.php, line 216: Invalid argument supplied for foreach()
12.01.2017 20:44:51 (en) - Cannot read file with lock: xml/_image_text.xml
12.01.2017 20:44:51 (en) - ERROR 8 in /handmadebags/photos/inc/readxml.inc.php, line 50: Undefined variable: xml_data
12.01.2017 20:44:51 (en) - Cannot read file with lock: xml/_image_text.xml
12.01.2017 20:44:51 (en) - ERROR 8 in /handmadebags/photos/inc/readxml.inc.php, line 50: Undefined variable: xml_data
12.01.2017 20:44:51 (en) - Cannot read file with lock: xml/_image_text.xml
12.01.2017 20:44:51 (en) - ERROR 8 in /handmadebags/photos/inc/readxml.inc.php, line 50: Undefined variable: xml_data
12.01.2017 20:44:51 (en) - XML error read caption: Invalid document end at line 1 (xml/_image_text.xml was renamed to xml/_image_text.xml_20171201204451.bak - please check this file if you want to restore your data) - DATA:
12.01.2017 20:44:55 (en) - ERROR 2 in 9/5/handmadebags/photos/admin/helper.php, line 216: Invalid argument supplied for foreach()

Author:  TinyWebGallery [ 2. Dec 2017, 02:08 ]
Post subject:  Re: Register

I does not happen on any of my systems.

especially Cannot read file with lock: xml/_image_text.xml is strange.Can you look into this file?
Because I only get a read lock here! means the file is only blocked is someone writes it.

Do you have images in the main folder?

and can you look if you have any errors in your server php log?

Because I do e.g. lock the file during writing. And only if inside there maybe someting goes wrong the file is not unlocked anymore...

Best, Michael

Author:  mairchik [ 2. Dec 2017, 02:31 ]
Post subject:  Re: Register

Q: especially Cannot read file with lock: xml/_image_text.xml is strange.Can you look into this file?

A: There is no such a file at all in xml folder but only a bunch of .bak files, e.g. _image_text.xml_20171201204153.bak etc.

Q: Do you have images in the main folder?

A: No.

Q. and can you look if you have any errors in your server php log?

A: How can I find it? I am on my internet provider's server who hosts webpages... I logged into SQL but don't know where to find a logfile.

Thanks,
Best,
Mair

Author:  TinyWebGallery [ 2. Dec 2017, 03:45 ]
Post subject:  Re: Register

Shit. Can you simply zip the whole TWG folder and put in in a dropbox for me?
I then can put into my php 5.6 an check. Maybe I find out something.

php error files -> ask your hoster - sometimes they are where the statistics are.

Best, Michae

Author:  mairchik [ 2. Dec 2017, 12:52 ]
Post subject:  Re: Register

Dear Michael,
I have just sent you a link with a zip file to download via a private message.
Thanks,
Best,
Mair

Author:  TinyWebGallery [ 3. Dec 2017, 23:27 ]
Post subject:  Re: Register

I did not receive a pm with a link...

Best, Michael

Author:  mairchik [ 4. Dec 2017, 01:39 ]
Post subject:  Re: Register

I might did smth wrong with sending, just sent it to you again. Please look.
Thanks

Author:  TinyWebGallery [ 6. Dec 2017, 22:43 ]
Post subject:  Re: Register

I have tested it local on my php 5.6.14.
I don't get any errors.

Can you enable enhanced debug? This maybe gives more infos.
set
$enable_enhanced_debug=true;

Best, Michael

Author:  mairchik [ 8. Dec 2017, 15:51 ]
Post subject:  Re: Register

Dear Michael,
here what it gives with enhanced debug:

<br />
<b>Parse error</b>: syntax error, unexpected 'version' (T_STRING) in <b>/var/www/sda/7/f/ailaron.mairchik/photos/counter/_mydebug.out</b> on line <b>7</b><br />

Best,
Mair

Author:  TinyWebGallery [ 8. Dec 2017, 16:12 ]
Post subject:  Re: Register

is there more? because I don't see at which file line 7 is meant...

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