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

Register
http://www.tinywebgallery.com/forum/web-photo-gallery-support-f1/register-t2996-30.html
Page 3 of 4

Author:  mairchik [ 14. May 2015, 23:36 ]
Post subject:  Re: Register

Thanks Michael,
and how can I enable slideshow in lightbox?
I apologize for asking simple questions but I am trying this for several days now with no success.
Thanks,
Best,
Mair

Author:  TinyWebGallery [ 15. May 2015, 08:25 ]
Post subject:  Re: Register

I have not enabled this. This was done by a custom modification of a user.
I know that in lytebox the slideshow code is included but not activated. There you have to adopt that this will work.

Best, Michael

Author:  mairchik [ 15. May 2015, 11:10 ]
Post subject:  Re: Register

Thanks Michael,
I am trying to do it myself but it seems that any changes in lytebox.js or lytebox.css have no any effect, instead I have impression that lytebox-min.js defines behavior but there I am afraid to touch anything since it looks difficult to understand. What am I missing?
Best,
Mair

Author:  TinyWebGallery [ 15. May 2015, 11:58 ]
Post subject:  Re: Register

Always the min version are used.

For testing simply copy the normal versions to the min versions and than edit this.
My build process is minimizing everything.
But I think the main change is not to do in the lytebox.js but calling this properly with lyteshow .... and wich lyteshow I did not change the rel attributes in the lytebox.js. So you have 2 places where you have to change this. It should not be very much to change but at the right places which take time to find...

Best, Michael

Author:  mairchik [ 15. May 2015, 12:42 ]
Post subject:  Re: Register

thanks Michael, I will try to find out. One more question, can video can be played within lytebox?

Author:  TinyWebGallery [ 15. May 2015, 12:55 ]
Post subject:  Re: Register

No.

Author:  mairchik [ 15. May 2015, 20:15 ]
Post subject:  Re: Register

Hi Michael,
I found it! It was just to change into lyteshow in one place in 'index.inc.php'.
I will be grateful if you can answer two more questions:

1) How can I change a color and thickness of outer border of lightbox from white to smth else? I try inside lytebox-min.css and no effect.

2) How can I create beack real '-min' versions of lytebox.js and lytebox.css? Should I simply remove all spaces and wraps?

many thanks,
Mair

Author:  TinyWebGallery [ 15. May 2015, 20:25 ]
Post subject:  Re: Register

You have to be careful because the lighbox is started at several places. So you changed only one start. rel='lighbox' are the places you have to look.

1. You can use any webdeveloper tool to find this out. the id lbImageContainer seems to be what you looking for.
2. There are tools that does this. If you only do this once google for online tool. I use ycompressor for this in my build.

Best, Michael

Author:  mairchik [ 29. Nov 2017, 19:39 ]
Post subject:  TWG 2.4.4 xml related Error 8 unable to load albums

Dear Michael,
I proceeded to update from TWG 2.4.1 to TWG 2.4.4 as usual but this time after the update albums stops loading and empty white page appears when you click album. It says problem is in line 50 in readxml.inc.php, also Error 8 cannot read xml data and creating plenty of .bak files for each xml album file inside the xml folder. I reverted back to TWG 2.4.1 and everything works great.
COuld you please check what could be a problem with the latest version regarding xml acces?..
Thanks,
Best regards,
Mair

Author:  TinyWebGallery [ 29. Nov 2017, 20:17 ]
Post subject:  Re: Register

Hi,

line 50 is on 2.4.4
return strtr($xml_data, $e);

not sure why there an error can happen!

What do you have in your line there?

The new stuff is flock in this version which synchronized access to xml files.
So normally you should have less bak files. Because they happen if files are e.g. half written..

Best, Michael

Author:  TinyWebGallery [ 29. Nov 2017, 20:19 ]
Post subject:  Re: Register

I actually have 0 bak files since I have 2.4.4

Best, Michael

Author:  mairchik [ 29. Nov 2017, 20:54 ]
Post subject:  Re: Register

yes it is that line... Actually I have never had any .bak file before 2.4.4, only .xms with no problem... With this latest version it starts generating them every time I tried to load a page. I can try again and will send you the debug file in a moment.
Best,
Mair

Author:  mairchik [ 29. Nov 2017, 21:10 ]
Post subject:  Re: Register

Dear Michael,
here is the debug dile with errors generated with TWG 2.4.4, could you please look:

11.29.2017 20:08:44 (en) - Cannot read file with lock: ./xml/2017_02_Seyssins_France_photos_public_image_counter.xml
11.29.2017 20:08:44 (en) - ERROR 8 in aron.mairchik/photos/inc/readxml.inc.php, line 50: Undefined variable: xml_data
11.29.2017 20:08:44 (en) - Cannot read file with lock: ./xml/2017_02_Seyssins_France_photos_public_image_counter.xml
11.29.2017 20:08:44 (en) - ERROR 8 in aron.mairchik/photos/inc/readxml.inc.php, line 50: Undefined variable: xml_data
11.29.2017 20:08:44 (en) - Cannot read file with lock: ./xml/2017_02_Seyssins_France_photos_public_image_counter.xml
11.29.2017 20:08:44 (en) - ERROR 8 in aron.mairchik/photos/inc/readxml.inc.php, line 50: Undefined variable: xml_data
11.29.2017 20:08:44 (en) - XML error increaseCount: Invalid document end at line 1 (./xml/2017_02_Seyssins_France_photos_public_image_counter.xml was renamed to ./xml/2017_02_Seyssins_France_photos_public_image_counter.xml_20171129200844.bak - please check this file if you want to restore your data) - DATA:
11.29.2017 20:08:48 (en) - ERROR 8 in aron.mairchik/photos/inc/counter.inc.php, line 262: Undefined variable: zaehler
11.29.2017 20:08:48 (en) - Cannot read file with lock: ./xml/2016_02_Seyssins_France_photos_public_image_text.xml
11.29.2017 20:08:48 (en) - ERROR 8 in aron.mairchik/photos/inc/readxml.inc.php, line 50: Undefined variable: xml_data
11.29.2017 20:08:48 (en) - Cannot read file with lock: ./xml/2016_02_Seyssins_France_photos_public_image_text.xml
11.29.2017 20:08:48 (en) - ERROR 8 in aron.mairchik/photos/inc/readxml.inc.php, line 50: Undefined variable: xml_data
11.29.2017 20:08:48 (en) - Cannot read file with lock: ./xml/2016_02_Seyssins_France_photos_public_image_text.xml
11.29.2017 20:08:48 (en) - ERROR 8 in aron.mairchik/photos/inc/readxml.inc.php, line 50: Undefined variable: xml_data
11.29.2017 20:08:48 (en) - XML error read caption: Invalid document end at line 1 (./xml/2016_02_Seyssins_France_photos_public_image_text.xml was renamed to ./xml/2016_02_Seyssins_France_photos_public_image_text.xml_20171129200848.bak - please check this file if you want to restore your data) - DATA:
11.29.2017 20:08:48 (en) - Cannot read file with lock: ./xml/2015_12_Palazzina di Stupinigi_Italy_photos_public_image_text.xml
11.29.2017 20:08:48 (en) - ERROR 8 in aron.mairchik/photos/inc/readxml.inc.php, line 50: Undefined variable: xml_data
11.29.2017 20:08:48 (en) - Cannot read file with lock: ./xml/2015_12_Palazzina di Stupinigi_Italy_photos_public_image_text.xml
11.29.2017 20:08:48 (en) - ERROR 8 in aron.mairchik/photos/inc/readxml.inc.php, line 50: Undefined variable: xml_data
11.29.2017 20:08:48 (en) - Cannot read file with lock: ./xml/2015_12_Palazzina di Stupinigi_Italy_photos_public_image_text.xml
11.29.2017 20:08:48 (en) - ERROR 8 in aron.mairchik/photos/inc/readxml.inc.php, line 50: Undefined variable: xml_data
11.29.2017 20:08:48 (en) - XML error read caption: Invalid document end at line 1 (./xml/2015_12_Palazzina di Stupinigi_Italy_photos_public_image_text.xml was renamed to ./xml/2015_12_Palazzina di Stupinigi_Italy_photos_public_image_text.xml_20171129200848.bak - please check this file if you want to restore your data) - DATA:
11.29.2017 20:08:53 (en) - ERROR 8 in aron.mairchik/photos/inc/counter.inc.php, line 262: Undefined variable: zaehler
11.29.2017 20:08:56 (en) - ERROR 8 in aron.mairchik/photos/inc/counter.inc.php, line 262: Undefined variable: zaehler
11.29.2017 20:08:58 (en) - ERROR 8 in aron.mairchik/photos/inc/counter.inc.php, line 262: Undefined variable: zaehler
11.29.2017 20:08:59 (en) - Cannot read file with lock: ./xml/2017_03_Marseille_France_photos_public_image_counter.xml
11.29.2017 20:08:59 (en) - ERROR 8 in aron.mairchik/photos/inc/readxml.inc.php, line 50: Undefined variable: xml_data
11.29.2017 20:08:59 (en) - Cannot read file with lock: ./xml/2017_03_Marseille_France_photos_public_image_counter.xml
11.29.2017 20:08:59 (en) - ERROR 8 in aron.mairchik/photos/inc/readxml.inc.php, line 50: Undefined variable: xml_data
11.29.2017 20:08:59 (en) - Cannot read file with lock: ./xml/2017_03_Marseille_France_photos_public_image_counter.xml
11.29.2017 20:08:59 (en) - ERROR 8 in aron.mairchik/photos/inc/readxml.inc.php, line 50: Undefined variable: xml_data
11.29.2017 20:08:59 (en) - XML error increaseCount: Invalid document end at line 1 (./xml/2017_03_Marseille_France_photos_public_image_counter.xml was renamed to ./xml/2017_03_Marseille_France_photos_public_image_counter.xml_20171129200859.bak - please check this file if you want to restore your data) - DATA:
11.29.2017 20:09:02 (en) - ERROR 8 in aron.mairchik/photos/inc/counter.inc.php, line 262: Undefined variable: zaehler

Author:  TinyWebGallery [ 30. Nov 2017, 01:26 ]
Post subject:  Re: Register

strange. which php version do you use?

Because I see that this is related to the new flock.
I actually added this because
http://www.tinywebgallery.com/demo/
has sometimes ~ 17000 unique users a day and I got many,many bak files because of concurrent use.

Best, Michael

Author:  mairchik [ 30. Nov 2017, 01:35 ]
Post subject:  Re: Register

it is php 5.6.8, here installation check:

TWG installation check for TWG 2.4.4

PHP version >= 4.3.0 Yes (5.6.8)
- XML support Available
- GD lib support Available
- GD lib >= 2.0 Yes (2.1.0)
- imagecreatetruecolor Available
- Memory limit Very Good (64M)
- Max resolution ~ 3513 x 2638
- Rotate available Available
- Text watermark Available
- Remote jpg support Available
- File Uploads Available
- Upload max filesize 2M - Resize images > 2M (howto)
Session Available
- session.save_path /var/www/sda/7/f/ail..ik/sessions
Javascript Available
fsockopen (howto) Available
Image Magick Support Not available
ffmpeg Support Not available
ffmpeg video convert Not available

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