Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Christopher
Experienced
Topic Author
Posts: 213
Joined: 30 Sep 2006, 18:58

Error in Theme changing for beta V2 (20080728)

28 Jul 2008, 14:41

When changing themes in most recent version (20080728) and then clicking
the 'content' menu I receive the following line error:

Warning: in_array(): Wrong datatype for second argument in C:\websider\christophergrant.net\httpdocs\new\imagevue\include\ivFilepath.class.php on line 124

At which point the site won't load normally, resulting in various problems
such as thumbs not loading or sound module not loading. Attempting to
switch themes back doesn't result in a fix. I must re-upload
the site files to fix the issue.

Link: http://www.christophergrant.net/new

Thoughts welcome!
 
User avatar
kimlaine
Experienced
Posts: 31
Joined: 17 Jul 2008, 05:36

28 Jul 2008, 15:39

Hi,

I can verify this. Got the cache cleared when first disabling and then enabling the cache again, same errors at the first try to clear the cache but it succeeded the second time.

But there is a second phenomenom to this. You can"view" a custom theme but on the moment you make it default the Maincontrols show NaN/NaN, the Mainmenu is visible but the thumbnails will not load when a folder is selected. The same efect even you change back to the default theme.

You can then again copy the original files over the setup and everything is ok and the custom theme is viewable when it's set from the url, f.ex:
http://dance-corner.net/iv2beta/index.p ... #/content/

Tested with latest Firefox and IE.

Krgds,
Kimi
Dance-Corner.net
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

29 Jul 2008, 04:20

Thanks, we will look into this immediately. May I just ask, did you update all files from 20080728 including theme and configuration files?
 
User avatar
Christopher
Experienced
Topic Author
Posts: 213
Joined: 30 Sep 2006, 18:58

29 Jul 2008, 04:32

In my case, I updated all the files.
 
User avatar
kimlaine
Experienced
Posts: 31
Joined: 17 Jul 2008, 05:36

29 Jul 2008, 06:29

Yes, all files updated.
Kimi
Dance-Corner.net
 
jhamrick
Experienced
Posts: 100
Joined: 10 Mar 2008, 00:26

30 Jul 2008, 01:47

Here is a screenshot of it on my admin page...

It breaks as soon as I change themes and then try to clear cache or anything, otherwise if I stick on the default them it SEEMS to continue to work.

Image
- josh
 
User avatar
kimlaine
Experienced
Posts: 31
Joined: 17 Jul 2008, 05:36

30 Jul 2008, 02:29

Hi,

Confirmed. It works fine as long as the default theme is used. That can even be modified to whatever. But if the theme is changed all these issues come up.

Another theme can be used if it is given as a parameter in the url though.

Pain, PM if you want to test it on my site.

krgds,
Kimi
Dance-Corner.net
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

30 Jul 2008, 07:07

Just a quick update on this issue... Our research shows that all users/sites with this issue have items in the config.xml that aren't supposed to be there:
Code
<excludefilesprefixarr>Array</excludefilesprefixarr>
<allowedExtentionsArr>Array</allowedExtentionsArr>
If you want a quick fix, you can either remove those two lines in the config.xml manually, or you could re-upload the original config.xml... or perhaps even better, just wait for an update from us shortly(so error does not re-occur)!

It is clearly some incorrect data that the admin is adding somehow, and we are smoking out the rats.
 
jhamrick
Experienced
Posts: 100
Joined: 10 Mar 2008, 00:26

30 Jul 2008, 09:49

mjau-mjau wrote:...or perhaps even better, just wait for an update from us shortly(so error does not re-occur)!

It is clearly some incorrect data that the admin is adding somehow, and we are smoking out the rats.
Sweet!
- josh
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

30 Jul 2008, 12:19

Ok, we have released an update for this specific issue - viewtopic.php?p=8917
 
jhamrick
Experienced
Posts: 100
Joined: 10 Mar 2008, 00:26

30 Jul 2008, 12:19

mjau-mjau wrote:Ok, we have released an update for this specific issue - viewtopic.php?p=8917
I'll check it out tonight when I get home from work! Thank you!
- josh
 
User avatar
kimlaine
Experienced
Posts: 31
Joined: 17 Jul 2008, 05:36

30 Jul 2008, 12:53

The 30072008 version corrected this issue at least on my test site.

Thx for a fast correction :-)
Kimi
Dance-Corner.net
 
jhamrick
Experienced
Posts: 100
Joined: 10 Mar 2008, 00:26

30 Jul 2008, 13:27

kimlaine wrote:The 30072008 version corrected this issue at least on my test site.

Thx for a fast correction :-)
Nice! Yea, really good hustle guys! Thanks for getting in that fix!
- josh
 
User avatar
nz-photo
Experienced
Posts: 248
Joined: 06 Dec 2007, 17:26

31 Jul 2008, 08:44

Hi guyz !!
Still got the same issue as soon as I change theme.
Cant get back without all these warning messages...
I upload the 'should be fixed' version 3007 so i dont know what i mcould have missed...

Any help ?
Empty your mind, be formless, be shapeless, like water...
www.nz-photo.com
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

31 Jul 2008, 11:54

FIXED.

This bug causes corruption of config and every xml it touches, so you have to overwrite everything in imagevue/ subdir.

Also good idea would be to delete folderdata.xml in all dirs in content (but actully that is not that critical, especially if you didnt edit descriptions lately).
firedev.com