Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Images show but the design is wrong when I create a gallery

Thread began 11/24/2010 3:56 pm by jon392819 | Last modified 7/17/2012 11:41 am by Jason Byrnes | 3240 views | 8 replies |

jon392819

Images show but the design is wrong when I create a gallery

Hi Guys,

When I embed a gallery into a PHP page on my site it looks like the CSS and Javascript files are not been referenced right. The PG root folder is missing in the src to the css and javascript. In its place is the name of the parent folder holding the file containing the embeded code.

Sign in to reply to this post

Dani Chankhour

That is correct, the latest dot release of PowerGallery does not store the site root in the database to make it more dynamic.

Can you send me a link where i can see the issue you are referring to?

Sign in to reply to this post

jon392819

Thanks Dani,

Photocms is the install folder.

Link below:

mums/

Embed code: <?php
$pg_id = '1';
$pg_theme = 'light';
include('/usr/local/pem/vhosts/107626/webspace/httpdocs/photocms/galleries/ribbon_fullsize_lightbox/index.php');
?>

Thanks

JOn

Sign in to reply to this post

neilo

Dani, Hi,

This is a recurring problem with this issue of PowerGallery. At the moment there are a couple of open tickets awaiting resolution, with more queries coming in daily.

This issue needs taking back to the bench with a view to a definitive dot release issue.

Sign in to reply to this post

Dani Chankhour

Thanks. I can see the issue. This looks like a bug in PowerGallery since the page that includes the gallery is out side of the PowerGallery install folder. I have logged a bug in our bug base to fix the issue in future dot releases.

meanwhile i have attached a global.php which fix your issue, please download and replace your global.php under the galleries folder with the attached file.

Attached Files
global.php.zip
Sign in to reply to this post

jon392819

Thank you Dani. Works fine now.

J

Sign in to reply to this post

ChrisW

Same issue

138205 ticket number

tattoo-artist-greg.php click tattoos

I repeated a few steps along (see ticket#) with replacing the library file and Im stuck. I also made the change to line 35 of global as instructed by jason. Any help would be great.

Sign in to reply to this post

design343795

Still haveing issues Internal error Power Gallery

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@imagesbygb.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.imagesbygb.com Port 80

----------------
---------------

any advice Also we have another gallery that showed the wrong link to copy and this one has all sorts of errors we are fully reloading that one agin again agin but still errors at one point god a kind of gallery up without fomating such as the display galery want there just the imahes with line errors such as line 370 line 227 or the line so we will will address that one shortly but need advce on this error above first

Sign in to reply to this post

Jason ByrnesWebAssist

you reported the issue in another thread as well, see my replay there:
showthread.php?p=132955&posted=1#post132955

Sign in to reply to this post

mds119803

This post has been deleted.

loading

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...