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 19. Jun 2018, 01:00

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: 31. May 2012, 21:41 
Offline

Joined: 11. Nov 2011, 12:09
Posts: 28
Hi

I got this error in debug window:

Code:
05.31.2012 21:26:31 (en) - ERROR 8 in /<my_path_to_twg>/admin/_lang/en.php, line 489: Array to string conversion


It appears after loading administration page.
At every reload of the administration page, several errors of this kind are added to debug window.

However, I didn't notice any problems using the gallery.


Top
 Profile  
 
PostPosted: 1. Jun 2012, 09:45 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10833
Have you modified the language file or maybe use a version from a different version?

Best, Michael


Top
 Profile  
 
PostPosted: 14. Jun 2012, 09:39 
Offline

Joined: 11. Nov 2011, 12:09
Posts: 28
I have not modified any language file.
Now I just upgrade to 1.8.8 version with the patch.
I can see that all files in <twg_path>/admin/_lang directory are replaced, but I still got this error in the debug window.

More info: if I login in administration with Deutsch language then this error don't appear any more.


Top
 Profile  
 
PostPosted: 14. Jun 2012, 19:41 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10833
is the line still the same and do you have to click somewhere in the administration to get the error?

Best,
Michael


Top
 Profile  
 
PostPosted: 14. Jun 2012, 22:49 
Offline

Joined: 11. Nov 2011, 12:09
Posts: 28
Every click on "Configure TWG" in admin panel generates two identical error messages of mentioned type.

Just reload this url: ....admin/index.php?action=helper


Top
 Profile  
 
PostPosted: 15. Jun 2012, 10:33 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10833
I don't get this error. can you send me the file?

Best, Michael


Top
 Profile  
 
PostPosted: 15. Jun 2012, 11:55 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10833
can you please set
enable_enhanced_debug=true;

and then reproduce the error. Then you should get more details about the error.

Best, Michael


Top
 Profile  
 
PostPosted: 15. Jun 2012, 13:55 
Offline

Joined: 11. Nov 2011, 12:09
Posts: 28
Hi
You can see detailed debug report in PM.
Here is the file en.php:

#removed_broken_link

PS: Cannot attach en.php file here in the forum. I tried with en.php.txt and en.php_.
I always get "The extension <ext> is not allowed."


Top
 Profile  
 
PostPosted: 15. Jun 2012, 14:14 
Offline

Joined: 11. Nov 2011, 12:09
Posts: 28
I found the reason for this error:

In en.php on line 489 I removed $other_file_formats_previews from array element and the error doesn't appear any more!


Top
 Profile  
 
PostPosted: 16. Jun 2012, 15:53 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10833
o.k. - you only have to write
/$other_file_formats_previews
instead
$other_file_formats_previews

I'm only wondering why I do not get the error.
I have already fixed this and will upload the updated version tonight.

Best, Michael


Top
 Profile  
 
PostPosted: 17. Jun 2012, 14:46 
Offline

Joined: 11. Nov 2011, 12:09
Posts: 28
You meant:
\$other_file_formats_previews
not:
/$other_file_formats_previews

right?

I made clean install of 1.8.8 yesterday and problem with this error still persists.


Top
 Profile  
 
PostPosted: 17. Jun 2012, 16:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10833
you are right.

I have not uploaded the fixed version yet. Just done it now ;).

Best,
Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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