progress bar getting stuck

feichter

Joined: 2010-05-13
Posts: 2
Posted: Mon, 2010-06-21 07:20

Can someone help, please!

I think I am experiencing problems because the progress bar keeps getting stuck. I then have to use the back button on the browser.

Could it have something to do with url rewrite? My gallery is embedded on www.aceimages.co.uk. Please have a look.

Thank you for your help.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2010-06-21 12:49
 
feichter

Joined: 2010-05-13
Posts: 2
Posted: Mon, 2010-06-21 16:53

Thanks for your reply.

It looks like I only got GD installed on the server and my host is 1&1 Internet.

The php info can be found here: www.aceimages.co.uk/phpinfo.php

Since Gallery2 is embedded, this is the content of the embed file:

<!--- start
<?php
$g2_Config['path'] = dirname(__FILE__) . '/gallery2/';

$g2_Config['g2Uri'] = '/gallery2/';
$g2_Config['embedUri'] = '/gallery.php';

//print_r($g2_Config);
require_once( $g2_Config['path'] . 'embed.php');
if (!headers_sent()) {
header('Content-Type: text/html; charset=UTF-8');
}
$ret = GalleryEmbed::init(array(
'g2Uri' => $g2_Config['g2Uri'],
'embedUri' => $g2_Config['embedUri'],
'fullInit' => 'false',
'apiVersion' => array(1,0)
));
GalleryCapabilities::set('login',true);

// handle the G2 request
$g2moddata = GalleryEmbed::handleRequest();
// show error message if isDone is not defined
if (!isset($g2moddata['isDone']))
{
print 'isDone is not defined, something very bad must have happened.';
exit;
}
// die if it was a binary data (image) request
if ($g2moddata['isDone'])
{
exit; /* uploads module does this too */
}
if ($ret)
{
print $ret->getAsHtml();
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<?php
list($title, $css, $javascript) = GalleryEmbed::parseHead($g2moddata['headHtml']);
echo "<title>" . $title . "</title>\n";

foreach ($css as $item) {
echo $item . "\n";
}
foreach ($javascript as $item) {
echo $item . "\n";
}
?>
<style type="text/css"> <!-- #gsHeader { display : none; } #gsFooter { display: none; } --> </style>
<link href="../scripts/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table border="0" align="center" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="5">&nbsp;</td>
</tr>
<tr>
<td height="50" colspan="5" background="../images/gradiant1.jpg"><div align="center" class="title">Ace Images </div></td>
</tr>
<tr>
<td colspan="5" background="../images/gradiant2.jpg"><div align="right"><!-- #BeginLibraryItem "/Library/nav.lbi" --><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10">&nbsp;</td>
<td width="10">&nbsp;</td>
<td width="100"><div align="center"><span class="links"><a href="/index.php">Home</a></span></div></td>
<td width="100"><div align="center"><span class="links"><a href="http://www.aceimages.co.uk/test.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin&g2_return=%2Ftest.php%3Fg2_itemId%3D273%26g2_page%3D3"></a></span><span class="links style1"><a href="gallery.php">Galleries</a></span> </div></td>
<td width="100"><div align="center" class="links"><a href="http://www.aceimages.co.uk/gallery.php?g2_view=checkout.Select&g2_return=%2Fgallery.php">View Cart</a> </div></td>
<td width="100"><div align="center" class="links style1"><a href="http://www.prioryevents.co.uk" target="_blank">Priory Events</a></div></td>
<td width="150"><div align="center" class="links"><a href="javascript:onClick=window.external.AddFavorite(location.href,document.title);">Bookmark this page</a> </div></td>
</tr>
</table>
<!-- #EndLibraryItem --></div></td>
</tr>
<tr>
<td colspan="5" background="../images/gradiant3.jpg">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="5"><?php
echo $g2moddata['bodyHtml'];
?></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><div align="right">. </div></td>
<td>&nbsp;</td>
<td><div align="right"></div></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="5" background="../images/gradiant3.jpg">&nbsp;</td>
</tr>
</table>
</body>
</html>
-- End >

Your help is greatly appreciated!!!!

Gallery URL = http://www.aceimages.co.uk/gallery2/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 4.4.9 cgi
Webserver = Apache
Database = mysqlt 5.0.81-log, lock.system=flock
Toolkits = ArchiveUpload, Gd
Acceleration = none/0, none/0
Operating system = Linux infong 2.4 #1 SMP Tue Dec 18 22:34:10 UTC 2007 i686 GNU/Linux
Default theme = matrix
gettext = enabled
Locale = en_GB
Browser = Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; AskTB5.6)
Rows in GalleryAccessMap table = 32
Rows in GalleryAccessSubscriberMap table = 6930
Rows in GalleryUser table = 2
Rows in GalleryItem table = 6929
Rows in GalleryAlbumItem table = 33
Rows in GalleryCacheMap table = 0