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 16. Dec 2017, 10:50

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 24. Sep 2010, 10:50 
Offline

Joined: 18. Jan 2009, 11:46
Posts: 20
I just upgraded to JFU 2.11 and had time to test the additional plugins. Great work :D

Unfortetunately the log_plugin and db_plugin do not work AND damage normal functionality of the main component.

Main issue: Managing of folders and files do not work (create, delete, rename, ...)
When I delete the plugins from the tfu subfolder everything is okay.

The log file reports: ERROR 8 ...db_plugin.ph, line 66:...SQL safe mode in effect - ignoring host...

Something wrong how I set up the plugins (just copy them into the tfu folder)?


Top
 Profile  
 
PostPosted: 24. Sep 2010, 11:29 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
The problem is that on your server the sql_save_mode is enabled which causes the script to stop. (the db_plugin - the log_plugin should work fine...)
I try now to connect with and without login and the plugin does not stop the whole script if you have an error but just don't log.

Please try the attached version and give me feedback.

If this does not help you have to disable the sql.safe_mode on your server.

- Michael


Attachments:
File comment: Patched version that takes care of the sql_save_mode as well.
db_plugin_1_2.zip [2.69 KiB]
Downloaded 147 times
Top
 Profile  
 
PostPosted: 24. Sep 2010, 13:33 
Offline

Joined: 18. Jan 2009, 11:46
Posts: 20
OK. I changed my php.ini and installed the attached db_plugin.
It seems to work but not the db_view_plugin.
The table view is not like in your example and the sorting for an item does not work - see attached screenshot


Attachments:
screenshot.png
screenshot.png [ 14.01 KiB | Viewed 1464 times ]
Top
 Profile  
 
PostPosted: 24. Sep 2010, 13:39 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
you have to redownload the viewer - i have updated it to version 1.1 about an hour ago.
I had to made the plugin compatible with 2.11.

- Michael


Top
 Profile  
 
PostPosted: 24. Sep 2010, 13:49 
Offline

Joined: 18. Jan 2009, 11:46
Posts: 20
OK. Runs now.

Thank you :D


Top
 Profile  
 
PostPosted: 24. Sep 2010, 14:08 
Offline

Joined: 18. Jan 2009, 11:46
Posts: 20
One more question to the database log.

As far as I see there is no size limitation of the logs. Right? Also no posiblity to delete entries?


Top
 Profile  
 
PostPosted: 24. Sep 2010, 14:17 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
The file log is rotating. For the database log you could add a simple query that does this... It's up to you if you use the number of entries or e.g. a date...

- Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 4 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:
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO