close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Gallery: ribbon fullsize lightbox not working

Thread began 10/03/2011 1:36 am by design317145 | Last modified 10/06/2011 8:58 am by design317145 | 2249 views | 4 replies |

design317145

Gallery: ribbon fullsize lightbox not working

I have a problem with the display page for the 'Ribbon Fullsize Lightbox' gallery

index.php?gallery=1&theme=dark

The site is hosted on an account using Windows hosting at webhostinguk

I had previously had the site + power gallery working OK on a Linux hosted site with 1and1

I see this 44 instances of this type of text scrolling down the page:

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'D:\inetpub\vhosts\white-100.com\httpdocs\powergallery\images\white100\cache/powergallery/images/white100/proportion/DSC_6071_web_w1024_h686/DSC_6071_web_1002102215000000.jpg' for writing: No such file or directory in D:\inetpub\vhosts\white-100.com\httpdocs\powergallery\webassist\caching\PG_CachedResize_Image.php on line 227

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'D:\inetpub\vhosts\white-100.com\httpdocs\powergallery\images\white100\cache/powergallery/images/white100/proportion/DSC_6115_web_w1024_h685/DSC_6115_web_1002102215000000.jpg' for writing: No such file or directory in D:\inetpub\vhosts\white-100.com\httpdocs\powergallery\webassist\caching\PG_CachedResize_Image.php on line 22

Sign in to reply to this post

Jason ByrnesWebAssist

this sounds like a permsions issue.

make sure that the images/ folder and all files and folders under it have the permisions set to 755.


also, in the webassist/cacjing/PG_CachedResize_Image.php file, change line 14:

php:
$retVal = is_dir($pathname) || @mkdir($pathname, 0777);




to:

php:
$retVal = is_dir($pathname) || @mkdir($pathname, 0755);




and line 360:

php:
mkdir ($cachefolder,0777,true);



to:

php:
mkdir ($cachefolder,0755,true);
Sign in to reply to this post

design317145

changes made - now manage gallery thumnails not showing

I've made the changes to the PG_CachedResize_Image.php file and windows hosting tech support checked and updated folder permissions.

The gallery now works OK

index.php?gallery=1&theme=dark

Now there is a problem with the thumbnail images not displaying within the powergallery admin area, previously these worked OK, now they dont display - they show an animated gif image (like image missing)

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

design317145

Powergallery Fixed - Thanks

Thanks for great support and fixing the code.

Webassist fixed the problem and telephoned to explain what had happened.

When I edited the PG_CachedResize_Image.php file, the code had been 'corrupted' by my Web Editing software (DW cs5 or Expression Web) something to do with the Byte-order Mark (BOM) option inserting extra code when editing PHP. In future, when editing PHP files I need to ensure that it was turned off

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...