close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

2nd gallery does not show any pictures

Thread began 7/05/2010 2:11 am by this_is_me | Last modified 8/11/2010 6:40 am by Jason Byrnes | 2348 views | 8 replies |

this_is_me

2nd gallery does not show any pictures

I have another gallery running and it works as expected but I cannot find any pictures in the new gallery.
All pictures are correctly stored in the database. I can add pictures and they are shown in the administration area. But no pix are shown in the public area ...

Sign in to reply to this post

Jason ByrnesWebAssist

please post a link where I can see the problem to investigate the cause.

Sign in to reply to this post

this_is_me

here it is

index.php?gallery=4&theme=dark


If you change the number from 4 to 3 you'll see the other gallery which is working.

???
thank you

Sign in to reply to this post

Jason ByrnesWebAssist

if I refresh the page a few times, it will start to try and load the images.

Seams like a database connection issue. on the index.php page, add the following at line 1:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>



I'm wondering if there are any PHP errors being reported that may help determine the cause.

Sign in to reply to this post

this_is_me

Originally Said By: Jason Byrnes
  if I refresh the page a few times, it will start to try and load the images.

Seams like a database connection issue. on the index.php page, add the following at line 1:
php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>


I'm wondering if there are any PHP errors being reported that may help determine the cause.  



Hmm,
can't see any ...

page code starts with:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
<?php
//gallery id, theme
if(empty($pg_id)) $pg_id = $_GET['gallery'];
if(empty($pg_theme)) $pg_theme = 'dark';
if(isset($_GET['theme'])) $pg_theme = strtolower($_GET['theme']);

//set config
$abs_file = str_replace('\\', '/', dirname(realpath(__FILE__)));
$abs_prefix = substr($abs_file, 0, strrpos($abs_file, '/') + 1);
$included = strtolower(realpath(__FILE__)) != strtolower(realpath($_SERVER['SCRIPT_FILENAME']));
include($abs_prefix . 'global.php');

Sign in to reply to this post

this_is_me

any more code you need?

<ping> <ping> <ping>

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:
login.php

Sign in to reply to this post

this_is_me

Again, its a UTF-8 / character problem

Thanks to the excellent phone support we could figure out the problem. The second gallery used titles with French letters, like Ardèche or Chârtreuse. The use of one single letter like this caused the whole gallery to disappear! As a quick-and-dirty workaround, one could encode some letters, like the old fashioned &szlig; for ß or &auml; for ä. It then displays wrong in the admin area, i.e. "Stra&szlig;e" instead of Straße. But on the public gallery page it will display correctly.

This is rather unsatisfactory. It excludes non-encodable characters completely. Please fix this asap!

Sign in to reply to this post

Jason ByrnesWebAssist

we are currently investigating the cause of this problem and will release a fix when it is available.

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