Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 17:19

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Register
PostPosted: 14. May 2015, 23:36 
Offline

Joined: 14. Feb 2015, 02:05
Posts: 16
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


Top
 Profile  
 
 Post subject: Re: Register
PostPosted: 15. May 2015, 08:25 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject: Re: Register
PostPosted: 15. May 2015, 11:10 
Offline

Joined: 14. Feb 2015, 02:05
Posts: 16
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


Top
 Profile  
 
 Post subject: Re: Register
PostPosted: 15. May 2015, 11:58 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject: Re: Register
PostPosted: 15. May 2015, 12:42 
Offline

Joined: 14. Feb 2015, 02:05
Posts: 16
thanks Michael, I will try to find out. One more question, can video can be played within lytebox?


Top
 Profile  
 
 Post subject: Re: Register
PostPosted: 15. May 2015, 12:55 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
No.


Top
 Profile  
 
 Post subject: Re: Register
PostPosted: 15. May 2015, 20:15 
Offline

Joined: 14. Feb 2015, 02:05
Posts: 16
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


Top
 Profile  
 
 Post subject: Re: Register
PostPosted: 15. May 2015, 20:25 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
PostPosted: 29. Nov 2017, 19:39 
Offline

Joined: 14. Feb 2015, 02:05
Posts: 16
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


Top
 Profile  
 
 Post subject: Re: Register
PostPosted: 29. Nov 2017, 20:17 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject: Re: Register
PostPosted: 29. Nov 2017, 20:19 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I actually have 0 bak files since I have 2.4.4

Best, Michael


Top
 Profile  
 
 Post subject: Re: Register
PostPosted: 29. Nov 2017, 20:54 
Offline

Joined: 14. Feb 2015, 02:05
Posts: 16
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


Top
 Profile  
 
 Post subject: Re: Register
PostPosted: 29. Nov 2017, 21:10 
Offline

Joined: 14. Feb 2015, 02:05
Posts: 16
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


Top
 Profile  
 
 Post subject: Re: Register
PostPosted: 30. Nov 2017, 01:26 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject: Re: Register
PostPosted: 30. Nov 2017, 01:35 
Offline

Joined: 14. Feb 2015, 02:05
Posts: 16
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 35 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy