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, 16:14

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  [ 6 posts ] 
Author Message
PostPosted: 29. Mar 2019, 04:48 
Offline

Joined: 1. Jul 2017, 03:07
Posts: 8
As the subject says, installation check is telling me that Session is 'Not Available', which probably explains my recent and sudden problem with my gallery not working properly (constantly asking me to log in, horribly slow performance.) The " - session.save_path" is populated and files are appearing, but I'm still having problems. How do I fix the 'not available' issue?

Thanks!

eta: details of the server...

Code:
PHP version >= 4.3.0   Yes (5.6.15)
  - XML support   Available
  - GD lib support   Available
  - GD lib >= 2.0   Yes (2.1.0)
  - imagecreatetruecolor   Available
  - Memory limit   Very Good (128M)
  - Max resolution   ~ 5089 x 3821
  - Rotate available   Available
  - Text watermark   Available
  - Remote jpg support   Available
  - File Uploads   Available
     - Upload max filesize   2M - Resize images > 2M (howto)
Session   Not available[
  - session.save_path   G:\xampp\tmp
Javascript   Available
fsockopen (howto)   Available
Image Magick Support   Not available
ffmpeg Support   Not available
ffmpeg video convert   Not available
    
Server name   localhost


Top
 Profile  
 
PostPosted: 29. Mar 2019, 22:30 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
It is slow because in the session is the cache. This is now not available anymore. What does happen if you clean the tmp dir? are this really sessions from the gallery?

Best, Michael


Top
 Profile  
 
PostPosted: 31. Mar 2019, 01:43 
Offline

Joined: 1. Jul 2017, 03:07
Posts: 8
I'd gone through and cleaned up all the temp and log files, thinking one of those was being troublesome.
Turned out, the wife uploaded a bunch of pictures the other day, made a folder with a "!" in the name, and it caused the system to barf.
Figured it out by creating a new gallery, moving the pictures folder to it, saw the same problem, then pulled all the folders and added them back in tree style, until I drilled down to find a folder with "!" in the name and killed it.
Now it works.

Also... TWG doesn't seem to like me having > 38k images in 195GB of data, at least on inital page view. Any way I can speed that up?


Top
 Profile  
 
PostPosted: 31. Mar 2019, 23:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Interesting. Not sure why a ! would kill this. If you need a ! please use a foldername.txt for it.

195 GB of data? 38k of images.

See
http://www.tinywebgallery.com/en/faq.php#h45

There are a couple of things you can optimize. The big point is that you cannot use features where the whole tree is checked. This are simply too many images for this!

Bet, Michael


Top
 Profile  
 
PostPosted: 2. Apr 2019, 05:02 
Offline

Joined: 1. Jul 2017, 03:07
Posts: 8
I can only report my difficulties and my findings when I locate a "solution." :D
Apparently a ! in a folder name causes issues, at least on my setup.

Also I added the following to the "Additional" tab:
$cache_dirs = true;
$show_counter_in_jstree=false;
$show_number_of_pic = false;
$show_count_views = false;
$use_random_image_for_folder=false;

I already had...
$use_cache_with_dir = true;
set, so i'll see if that brings up initial performance or not.

eta: also Debug keeps catching these 4 errors as a group
04.02.2019 3:39:40 (en) - ERROR 2 in G:\xampp\htdocs\twg\inc\readxml.inc.php, line 676: fopen(): Filename cannot be empty
04.02.2019 3:39:40 (en) - Please check the file: . Seems php cannot read/write/create it properly. TWG tries to rename the file to .bak
04.02.2019 3:39:40 (en) - ERROR 2 in G:\xampp\htdocs\twg\inc\readxml.inc.php, line 781: rename(,.bak): Invalid argument
04.02.2019 3:39:40 (en) - ERROR 2 in G:\xampp\htdocs\twg\inc\readxml.inc.php, line 607: Invalid argument supplied for foreach()
No idea where to even look to figure out what's causing them.


Top
 Profile  
 
PostPosted: 2. Apr 2019, 08:32 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
So simply don't use ! in directory names.

$use_cache_with_dir = true;
is a good idea because otherwise you have 76k cace files in one folder!

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 69 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