Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
"Array to string conversion" error https://www.tinywebgallery.com/forum/viewtopic.php?f=4&t=3326 |
Page 1 of 1 |
Author: | selectany [ 31. May 2012, 21:41 ] |
Post subject: | "Array to string conversion" error |
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. |
Author: | TinyWebGallery [ 1. Jun 2012, 09:45 ] |
Post subject: | Re: "Array to string conversion" error |
Have you modified the language file or maybe use a version from a different version? Best, Michael |
Author: | selectany [ 14. Jun 2012, 09:39 ] |
Post subject: | Re: "Array to string conversion" error |
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. |
Author: | TinyWebGallery [ 14. Jun 2012, 19:41 ] |
Post subject: | Re: "Array to string conversion" error |
is the line still the same and do you have to click somewhere in the administration to get the error? Best, Michael |
Author: | selectany [ 14. Jun 2012, 22:49 ] |
Post subject: | Re: "Array to string conversion" error |
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 |
Author: | TinyWebGallery [ 15. Jun 2012, 10:33 ] |
Post subject: | Re: "Array to string conversion" error |
I don't get this error. can you send me the file? Best, Michael |
Author: | TinyWebGallery [ 15. Jun 2012, 11:55 ] |
Post subject: | Re: "Array to string conversion" error |
can you please set enable_enhanced_debug=true; and then reproduce the error. Then you should get more details about the error. Best, Michael |
Author: | selectany [ 15. Jun 2012, 13:55 ] |
Post subject: | Re: "Array to string conversion" error |
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." |
Author: | selectany [ 15. Jun 2012, 14:14 ] |
Post subject: | Re: "Array to string conversion" error |
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! |
Author: | TinyWebGallery [ 16. Jun 2012, 15:53 ] |
Post subject: | Re: "Array to string conversion" error |
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 |
Author: | selectany [ 17. Jun 2012, 14:46 ] |
Post subject: | Re: "Array to string conversion" error |
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. |
Author: | TinyWebGallery [ 17. Jun 2012, 16:21 ] |
Post subject: | Re: "Array to string conversion" error |
you are right. I have not uploaded the fixed version yet. Just done it now . Best, Michael |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |