View Full Version : Gallery & includes help needed...
I use Gallery on my PostNuke website. Now that PowWeb is having major problems with includes, I went into the admin of my Gallery & changed any path that was like this...
http://msmcs.net/modules/gallery
to this....
http://localhost.msmcs.net/modules/gallery
Now instead of a very slow loading Gallery, I got a connection refused error. I changed it back to what it was. Its as slow as one using a 14.4K modem, but at least it works. Does anyone have any suggestions?
I'm having what may be a related problem.
my 'root' gallery gives a connection refused 800 error, http://www.projectfirebird.com/gallery
But I can get to my nested albums http://projectfirebird.com/gallery/1968-Firebird
The first link I posted should show two albums, one with pictures of the Firebird and one empty one. I've tried both the /www/p/projectfireb and localhost.projectfireb.com formats. Both result in the same error. My header.wrapper file for Gallery has had the following added to the end of it:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Project: Firebird</title>
<META NAME="DESCRIPTION" CONTENT="Pontiac Firebird Restoration Details of a project in which a 1968 Pontiac Firebird is brought back to life after a decade of suffering a garage ">
<META NAME="KEYWORDS" CONTENT="1968 Pontiac Firebird Restore Restoration Project Classic">
<style type="text/css">
<!--
body,td,th {
color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
body {
background-color: #FFFFFF;
}
.style1 {font-family: Arial, Helvetica, sans-serif}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #CCCCCC;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: none;
}
.style2 {color: #DDDDDD}
.style7 {font-family: "Courier New", Courier, mono}
-->
</style>
</head>
<html style="height: 100%; margin-bottom: 1px;"></html>
<table align="center" width="760" border="0" bgcolor="#000000">
<!-- THIS IS THE ROW FOR THE HEADER GRAPHIC OR HEADER TEXT -->
<th width="760"><span style="1"><?PHP include("/www/p/projectfireb/htdocs/header.htm"); ?>
<!-- NOW COMES THE TABLE ROW FOR GALLERY AND THE SIDEBAR -->
<table align="center" width="760" border="0" bgcolor="#000000"><tr valign="top">
<th width="20%" height="112" valign="top" bgcolor="#444444" scope="col"><?PHP include("/www/p/projectfireb/htdocs/menu.htm"); ?></th>
<!-- THIS IS GALLERY'S COLUMN, YOU ADD NOTHING HERE -->
<td width="80%"> and is used on all the galleries to make them appear with the format of my site. Since this is used on all of the gallery related pages, I don't know if its the include problem or not, I'm think its 'not'. If I remove the modifications, then I still get the same errors.
On all of my other pages, I use <!--#include file="header.htm"--> to include the header and menu files. Should I also change these to absolute URL's?
What the crap???! I tried to access the pages SECONDS before I copied and pasted the link to the previous post, and now that I've posted that, I can access the gallery page! Crazy...
The Linguist
2-5-05, 03:42 AM
Just for the record my gallery with 1400+ pictures is running just fine. Hope you get yours working.
Glad its working for you. (BTW, nice Firebird!). Although, if you go to my website & click on Gallery, then try to go into one of the albums, it either loads about 5 minutes later or not at all. This all started when PowWeb messed with their setup and screwed everything up. They went from a 99% downtime to were my site was down almost most of last week, and now its as slow as a turtle. I think they went in the wrong direction with things.
P.S. I run my Gallery in conjunction with PostNuke.
yeah, yours is loading slow.... the empty gallery loaded in under 1 second. I don't know much about writing web pages, but maybe the /www/m/msmcs/htdocs format would work? I think thats what I eventually settled on, but I have no clue as to if this is what the problem was.
Perhaps there is a massive load on the servers with everyone trying to access their pages, and when they fail they reload....
I am following the examples of Gallery...
(REQUIRED) The full URL to the Gallery web application. E.g. http://www.example.com/gallery
(REQUIRED) The full URL to your album directory (specified above) on your web server. E.g. http://www.example.com/albums
When I try to change those, I get errors. If I leave them, the site loads very slow. I think its on PowWeb's side & not mine.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.