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 Mon May 20, 2013 7:41 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Thu May 31, 2012 9:41 pm 
Offline

Joined: Fri Nov 11, 2011 12:09 pm
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: Fri Jun 01, 2012 9:45 am 
Offline
Site Admin
User avatar

Joined: Mon Aug 01, 2005 12:53 pm
Posts: 8576
Have you modified the language file or maybe use a version from a different version?

Best, Michael


Top
 Profile  
 
PostPosted: Thu Jun 14, 2012 9:39 am 
Offline

Joined: Fri Nov 11, 2011 12:09 pm
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: Thu Jun 14, 2012 7:41 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 01, 2005 12:53 pm
Posts: 8576
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: Thu Jun 14, 2012 10:49 pm 
Offline

Joined: Fri Nov 11, 2011 12:09 pm
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: Fri Jun 15, 2012 10:33 am 
Offline
Site Admin
User avatar

Joined: Mon Aug 01, 2005 12:53 pm
Posts: 8576
I don't get this error. can you send me the file?

Best, Michael


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

Joined: Mon Aug 01, 2005 12:53 pm
Posts: 8576
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: Fri Jun 15, 2012 1:55 pm 
Offline

Joined: Fri Nov 11, 2011 12:09 pm
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: Fri Jun 15, 2012 2:14 pm 
Offline

Joined: Fri Nov 11, 2011 12:09 pm
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: Sat Jun 16, 2012 3:53 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 01, 2005 12:53 pm
Posts: 8576
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: Sun Jun 17, 2012 2:46 pm 
Offline

Joined: Fri Nov 11, 2011 12:09 pm
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: Sun Jun 17, 2012 4:21 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 01, 2005 12:53 pm
Posts: 8576
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® Forum Software © phpBB Group

phpBB SEO