Support

Support is part of Event Gallery Extended.

Please get a subscription if you need support. Feel free to use the ticket system or the contact form for reporting defects or pre-sale questions. Make sure you're logged in in order to be able to create a new ticket.

For general information you can also jump to the manual.

Subscribe now!

#878 Firefox Chome Issue

Posted in ‘Event Gallery - General’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by xzavier on Wednesday, 23 July 2014 23:08 UTC

xzavier
 Hi, for the last 12-18 hours i've been editing code, switching things off and on and I can't for the life of me workout why the gallery won't work on firefox or chome, images seem not to load at all, It works perfectly on Opera but I've had complaints from other users of nothing loading,

The Problem Page I'm no JS Editor so I tried a fresh install, Still the same problem,

I get paid in a few hours and I really want to buy the extended version as I can't find anything this good but whats stopping me is that if its not working on the free version it might not work on the extended and this is something I need to fix while i'm working on the free version
am I missing something?

Thanks,

Xzavier

sbluege
Opera can't work too! Your server simply does not deliver any thumbnails. Maybe Opera has a filled browser cache for some reason.

Here are the exceptions I see:

<br />
<b>Warning</b>:  mkdir(): Permission denied in <b>/var/www/vhosts/km/kyotomedia.co.uk/httpdocs/components/com_eventgallery/views/resizeimage/view.html.php</b> on line <b>88</b><br />
<br />
<b>Warning</b>:  mkdir(): Permission denied in <b>/var/www/vhosts/km/kyotomedia.co.uk/httpdocs/components/com_eventgallery/views/resizeimage/view.html.php</b> on line <b>93</b><br />
<br />
<b>Warning</b>:  file_put_contents(/var/www/vhosts/km/kyotomedia.co.uk/httpdocs/cache/com_eventgallery_images/mcm/crop94IMG_0842.JPG): failed to open stream: Permission denied in <b>/var/www/vhosts/km/kyotomedia.co.uk/httpdocs/components/com_eventgallery/helpers/vendors/pel/src/PelJpeg.php</b> on line <b>542</b><br />
<br />
<b>Warning</b>:  touch(): Unable to create file /var/www/vhosts/km/kyotomedia.co.uk/httpdocs/cache/com_eventgallery_images/mcm/crop94IMG_0842.JPG because Permission denied in <b>/var/www/vhosts/km/kyotomedia.co.uk/httpdocs/components/com_eventgallery/views/resizeimage/view.html.php</b> on line <b>262</b><br />
<br />
<b>Warning</b>:  readfile(/var/www/vhosts/km/kyotomedia.co.uk/httpdocs/cache/com_eventgallery_images/mcm/crop94IMG_0842.JPG): failed to open stream: Permission denied in <b>/var/www/vhosts/km/kyotomedia.co.uk/httpdocs/components/com_eventgallery/views/resizeimage/view.html.php</b> on line <b>281</b><br />



Looks like a simple permission problem. Make sure you clear the Joomla cache after you fixed the issue.

xzavier
a simple chmod -R 777 /var/www/vhosts/km/kyotomedia.co.uk/ everything that isn't settings should fix it right

sbluege
No. Seems like there are still access problems.

<br />
<b>Warning</b>:  file_put_contents(/var/www/vhosts/km/kyotomedia.co.uk/httpdocs/cache/com_eventgallery_images/mcm/uncrop128arr2.jpg): failed to open stream: Permission denied in <b>/var/www/vhosts/km/kyotomedia.co.uk/httpdocs/components/com_eventgallery/helpers/vendors/pel/src/PelJpeg.php</b> on line <b>542</b><br />
<br />
<b>Warning</b>:  touch(): Unable to create file /var/www/vhosts/km/kyotomedia.co.uk/httpdocs/cache/com_eventgallery_images/mcm/uncrop128arr2.jpg because Permission denied in <b>/var/www/vhosts/km/kyotomedia.co.uk/httpdocs/components/com_eventgallery/views/resizeimage/view.html.php</b> on line <b>262</b><br />
<br />
<b>Warning</b>:  readfile(/var/www/vhosts/km/kyotomedia.co.uk/httpdocs/cache/com_eventgallery_images/mcm/uncrop128arr2.jpg): failed to open stream: Permission denied in <b>/var/www/vhosts/km/kyotomedia.co.uk/httpdocs/components/com_eventgallery/views/resizeimage/view.html.php</b> on line <b>281</b><br />


here is a test url.

http://kyotomedia.co.uk/components/com_eventgallery/helpers/image.php?option=com_eventgallery&mode=uncrop&width=112&view=resizeimage&folder=mcm&file=arr2.jpg

xzavier
So do you have any ideas on how I can fix it?

Thanks,

sbluege
You need to make sure Joomla can write in the cache folder. If this does not work you need to contact the hosting provider for help. Maybe they have some kind of security feature enabled which prevent write access.

Just another thing: the auto layout does not work very well on your site since the available space for the gallery changes after the domReady event. Maybe your template changes the layout using JavaScript. this would work if it fires a resize event afterwards.

xzavier
I am my hosting provider I run my own Home Servers, This is why I've been stuck,
thanks anyway I'll Mess with the server for a bit

I keep thinking CloudFlare is Making it break could cloudflare break it

Thanks

sbluege
I honestly don't know it. I just know that PHP is not able to write this file into the /cache/ folder. You can try to delete the whole cache folder. It should be recreated automatically. Maybe it's a strange user permission issue.

How did you create this site? Did you set it up locally and uploaded it afterwards? Are you able to upload content?

xzavier
I've done everything from apache2 within webmin, it could be the default permissions have been set to read execute

sbluege
How did you create this site? Did you set it up locally and uploaded it afterwards? Are you able to upload content?

xzavier
Yes I have Direct access to the Public HTML folder,

sbluege
Can upload anything using the Joomla back end? Can you change the Joomla Global configuration?

Maybe the user which accesses the files directly is a different one than httpd user.

sbluege
did you had any luck fixing this permission mess?

xzavier
Yes it Worked in the end I 777  nearly everything Thanks for your help, 
Will buy on next paycheck :)

From: sbluege@gmail.com
Date: Wed, 23 Jul 2014 21:26:50 +0200
To: trancefx@live.co.uk
Subject: Reply to your public ticket #878 Firefox Chome Issue [Event Gallery - General]