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:39

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: 22. Apr 2007, 17:55 
Offline

Joined: 22. Apr 2007, 17:48
Posts: 3
I just installed TWG on my server without any problems. I have registered the program and am awaiting finalization of my registration.

When I enter the admin area, and on the Simple View and Normal View of the TWGXplorer, I see the following error message:

Fatal error: Out of memory (allocated 2097152) (tried to allocate -1 bytes) in /home/mike0311/public_html/twg16/admin/_include/fun_list.php on line 615

What should I do?

Thanks for the help.


Top
 Profile  
 
 Post subject:
PostPosted: 22. Apr 2007, 21:39 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
can you please post this line?

Because my local version is already slightly different.

And how many php memory do you have?
check the info page.

/Michael


Top
 Profile  
 
PostPosted: 23. Apr 2007, 06:22 
Offline

Joined: 22. Apr 2007, 17:48
Posts: 3
Michael,

line 615 of fun_list.php is:
$my_group_info = posix_getgrgid(posix_getegid() );

From the TWG info page:
Memory Limit: O.k. but don\'t use large images (16M)

Thanks for looking at this.


Top
 Profile  
 
 Post subject:
PostPosted: 23. Apr 2007, 09:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Seems the list of groups is really really big on your server.

what you can do

replace this line with

$my_group_info['name'] = "?";
$my_group_info['gid'] = "?";


And how to you access the twg admin? with the frontend login or with admin/index?

Try to open a new browser and access directly admin/index.php - because the frontend is already caching some stuff in the session.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 23. Apr 2007, 19:46 
Offline

Joined: 22. Apr 2007, 17:48
Posts: 3
Michael,

I replaced line 615 with the code you suggested. There was one line displayed on the Simple View page, then another out of memory error occurred, this time on line 288 of fun_list.php.

Line 288:
$group_info = posix_getgrgid($file_info["gid"] );

I commented out line 288, and now I have a full page displayed with no apparent errors.

I will continue to test this as I begin to configure my gallery.

Is this a valid fix? Would you expect any loss of functionality or other problems with these changes?

Thanks for your time.


Top
 Profile  
 
 Post subject:
PostPosted: 23. Apr 2007, 22:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
actually no - this is additional information like the group and owners. You simply have less information in the browser - most of the functions should work fine.

/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 2 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