close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

blank page in admins preview

Thread began 4/07/2010 5:24 am by tonyg375318 | Last modified 4/15/2010 4:48 pm by Eric Mittman | 4281 views | 9 replies |

tonyg375318

blank page in admins preview "WAMP"

Hi
I use WAMP as testing server, and Dreamweaver CS4.
I have installed the Power Gallery. Installation went well and got a new database in phpMyAdmin.
But when I use the PG admin and select any design and look in the preview, so nothing happened.
It say "waiting for http://localhost/GeologiskaMuseet/PowerGallery/admin/preview.php" and i get a blank page.
Same thing if I click on the URL link "http://localhost/GeologiskaMuseet/PowerGallery/galleries/ribbon_lightbox/index.php?gallery=1&theme=dark"

Same thing if I copy and paste the PHP code in my php page

What am I doing wrong?
Best Regards
Tony

Sign in to reply to this post

Eric Mittman

A blank php means that there is an error occurring, to see what it is you can enable error reporting on these pages by putting this php code at the top of the page:

php:
<?php 

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



When you put this code in save and test the page, it should let you know what the problem is.

Sign in to reply to this post

tonyg375318

Wamp ??

I've added the code at the top of the page and I get nothing.
Still a blank page.
I can say that the Power Gallery works perfectly on my live server, but not with WAMP.

I want it to work on WAMP server also, because I can not work on both my test server and live server simultaneously. I have much more to do on my pages than simply adding up the Power Gallery. And it becomes much harder to work with layout and graphics are not true.
So what to do?

Regards
Tony

Sign in to reply to this post

Eric Mittman

A blank php page should return an error if the error reporting code is on it. Are you having any problems with your db connection, or with your local testing server? Did you add in the error reporting code directly to the PowerGallery/galleries/ribbon_lightbox/index.php page? This is where you should put in the error reporting code.

Did you go through the installation process for this, or did you port it directly from your live server?

Sign in to reply to this post

tonyg375318

wamp server

ok.
I have installed the PG via the WAMP server and it worked well.
He created a table, i can se that om my phpMyAdmin.
But there was no table in dreamweaver, so I had to add it manually. Look picture_5.
Then I run the PG admin and I took sample pictures from PG, everything works fine if you do not preview.
I put the code in a div on my php page. Look picture_1.
Then I run F12. Result after 1.40 minutes, picture_2. Everything is almost gone
I put the Error Reporting code on all pages.
I put the Error Reporting Code also on Power Gallery / galleries / ribbon_lightbox / index.php. The result was picture_3 and picture_4.

I hope it was a better explanations.
Thanks for the reply.
Sincerely,
Tony

edit: Here is the code I put into my page.

<?php
$pg_id = '1';
$pg_theme = 'dark';
include('C:/wamp/www/GeologiskaMuseet/PowerGallery/galleries/ribbon_lightbox/index.php');
?>

Sign in to reply to this post

Eric Mittman

In the screen shots you show an error that you are getting on the index page, you should not be going directly to the index page to view a gallery. Instead you should only have the include code on the page that you wish to see the gallery with. If you would like to go to the gallery directly you will need to use the URL that you see in the 'add to site' section of the PowerGallery Admin.

The end part of the URL might look like this:

index.php?gallery=1&theme=dark

As for the table that could not be found that you added manually I do not understand what is being stated here. If you have a connection to the db in DW then you should be able to see the tables for that db and make reference to them. Please explain this part further so that we can have a better understanding of the details.

Sign in to reply to this post

tonyg375318

wamp

Even if I take everything away and only install a clean PG with built in example pictures
it won't work.
I use the url on the 'add to site' section of the PowerGallery Admin and
Internet Explorer says ' Url found. waiting for answer..'.
I found out that it is the row
$gallery = get_gallery(get_mediarss_url('gallery=' . $pg_id . '&thumb=62c&full=782p'));
that won't work.
If I delete 'get_mediarss_url' it loads, but with no images.
I checked in phpMyAdmin and everything is there.
I have tested connections.php and it runs without errors.

If I install PG on my web hotel, in the same way , it works perfectly.

I use win7 (x64) with Internet Explorer 8 (x32).

//Tony

Sign in to reply to this post

Eric Mittman

Do you have another browser that you can try this in? If you are setting it up the same way as it works on the live server it should work for you locally as well. Have you checked your local db to ensure that the tables are there and there are records in them? If so then it should be working for you. If you continue to have trouble with this I will open a ticket for you so we can look into it further.

Sign in to reply to this post

tonyg375318

wamp

I tried in Firefox, won't work.
I checked my Db, see prev. msg, all is there.
If I load mediarss.php in Dreamweaver and prev. in Explorer it list all
sampleXX.jpg in Gallery 1.

//Tony

Sign in to reply to this post

Eric Mittman

I have opened a ticket for you on this so we can look into it further. To update your ticket please login and visit your support history:

supporthistory.php

Sign in to reply to this post
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...