Page 1 of 1

PHP problem

Posted: 20 Oct 2009, 11:46
by troltuu
Hi there

I have a PHP problem that probably has to do with my webprovider. I have 2 providers and on one of them the page works fine http://www.troltuu.dk/nikoogteaverdenrundt - but when I wanted to put the webpage on my other webproviders server the start image doesn't load www.teaogniko.dk

when I go to the image in the startfolder I get the error-message

"A PHP Error was encountered
Severity: Warning

Message: Illegal offset type in isset or empty

Filename: /imagevue/include/ivExifParser.class.php

Line Number: 224

Warning: Illegal offset type in isset or empty in /usr/home/web/web207647/teaogniko.dk/imagevue/include/ivExifParser.class.php on line 224
"

I have set the permission the same way on both servers.

Is it my provider that makes trouble for me ? And what does he need to do in order to correct it ?

Best regards - Troltuu

Posted: 20 Oct 2009, 13:05
by mjau-mjau
Sorry, where do you find that error message described in your post?

I can confirm your teaogniko.dk link does not work properly - For some reason, it is trying to load the following link:
http://www.teaogniko.dk/pathtofilemods/image.jpg
That image does not exist, and I am not quite sure why it is trying to load it. Could you provide admin access to your gallery?

Posted: 20 Oct 2009, 15:46
by troltuu
The error message is when I go into the start folder and click on the picture itself. The same error comes with the other pics.

Acces to the admin: user: temp, pass: temp.

thanx for your help

Troltuu

Posted: 21 Oct 2009, 05:02
by Nick
This is caused by some strange EXIF data your camera is returning. Flash fired should be a single digit 0 or 1 but in your case it's an array, I'm sending you the patched file by email.

On another hosting you just don't have EXIF module installed so imagevue not trying to get those data.

Posted: 21 Oct 2009, 05:17
by troltuu
Perfect !!!!

Now it works.

Thanks a lot for your quick help - I really appreciate it !!

Best regards - Troltuu.

Re: PHP problem

Posted: 13 Jul 2012, 14:05
by fsfs
Nick, I don't understand the problem really.

I've disabled the settings.image.text2 - and unchecked: Exif - still it gives med this error... even on a completely new fresh gallery.

How come?
error.JPG
error.JPG (6.45 KiB) Viewed 4498 times
http://sanaie.se/fan/

(iv-admin)

admin/admin

Re: PHP problem

Posted: 14 Jul 2012, 09:00
by mjau-mjau
Just had a quick look, and what you are reporting is unrelated to EXIF. What I saw was that Imagevue was sometimes unable to load imagevue.php, getting a file forbidden return. This then leads to Imagevue trying to load a file that doesnt exist ...
Image
This is what I saw. Maybe Nick will take a look ...

Re: PHP problem

Posted: 14 Jul 2012, 10:37
by Nick
Looks like there was the .htaccess file blocking it, now it seem to work.

PHP problem

Posted: 14 Jul 2012, 20:13
by fsfs
Nick wrote:Looks like there was the .htaccess file blocking it, now it seem to work.
Thanks Nick and Karl - the .htaccess wasn't the problem - been using same file before. Had to be the server corruption. Thanks anyway :)