Page 1 of 2
New Comic Not Showing
Posted: Tue Nov 28, 2006 9:34 am
by Poisondusk
My latest comic isn't showing up, for some reason. I've checked my coding, and I can't find a problem. My web browser appears to load the image, in the sense that I can open just the comic image on its own without getting the anti-hotlinking problem, but it still won't show on the actual index page, or it's individual page.
I've tried reuploading it, but it hasn't made any difference.
My comic is
here.
The page is question is
this one.
Posted: Tue Nov 28, 2006 9:50 am
by Swikan
PoisonDusk, I don't see it on your main page, either.
Are you uploading your comic to the WORKSPACE comics folder?
Posted: Tue Nov 28, 2006 10:05 am
by Oualawouzou
You do have the ***todays_comics*** tag on your indextemplate.html and dailytemplate.html files, right?
Posted: Tue Nov 28, 2006 11:02 am
by Poisondusk
Yes, to both questions.
Posted: Tue Nov 28, 2006 11:13 am
by Swikan
Would you please post the html for your indextemplate so that we can see? (you can use the "code" button in the reply menu) I see on the source for your page that the html is calling for the picture, but the display of it is just not happening. Let us look at the basics and see if we can see anything.
Posted: Tue Nov 28, 2006 11:21 am
by Swikan
hold on! I think I see the problem... it doesn't appear you are using the automatic posting function, as "poisondusk_files" would not be a subfolder used by the system, I don't think. At least it isn't on mine. (I am a noob to the ins and outs of the mysterious magical workings of CG.)
I see the code for your image is like this:
Code: Select all
<img alt="" src="poisondusk_files/20061127.jpg" border="0" height="0" width="0">
try putting a "/" in front of your img src so that it looks like this:
Code: Select all
<img alt="" src="/poisondusk_files/20061127.jpg" border="0" height="0" width="0">
See the slash after the equals sign? See if that makes a difference.
Posted: Tue Nov 28, 2006 11:26 am
by Poisondusk
Do I edit that in the real index page rather than the indextemplate.html?
And I am supposed to be using the automatic posting function. There shouldn't even be a 'poisondusk_files', I'm not sure where that came from.
Posted: Tue Nov 28, 2006 11:31 am
by Swikan
No, you don't change anything in the public files at all. That is all handled automatically.
Go ahead and post your indextemplate html code then so we can have a look. If you and I and Oualawouzou can't figure it out, then one of the more knowledgeable among us will see it and fix you right up.
Posted: Tue Nov 28, 2006 11:32 am
by Poisondusk
Here:
Code: Select all
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en"xmlns="http://www.w3.org/1999/xhtml">
<head><title>***comic_name*** - Last Updated ***todays_date***</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<link rel="alternate" title="***comic_name***" href="/rss.xml" type="application/rss+xml" />
<link rel="stylesheet" type="text/css"
href="citystreets.css" />
</head>
<div class="keen_ad" style="display:inline;">
***advertisement***
</div>
<div class="main">
<center><a href="index.html" title="Home"><img src="/images/topbanner.gif"></a></center>
<p><p><center><img src="images/warning.jpg"></center>
<p><p>
<table border="0" height="270">
<tr><td width=150> </td>
<td><b>Page Comments</b>
<p><p>***todays_notes***
<p><p></td></tr>
<tr>
<td width="240">
<p><a href="index.html"><img src="/images/home.gif"></a></p>
<p><a href="about.html"><img src="/images/about.gif"></a></p>
<p><a href="cast.html"><img src="/images/cast.gif"></a></p>
<p><a href="archive.html"><img src="/images/archive.gif"></a></p>
<p><a href="gallery.html"><img src="/images/gallery.gif"></a></p>
<p><a href="creator.html"><img src="/images/creator.gif"></a></p>
<p><a href="links.html"><img src="/images/links.gif"></a></p>
<p><p><a href="http://www.onlinecomics.net"><img src="http://www.onlinecomics.net/images/banners/OC_88x31.gif" width="88" height="31" border="0"></a></p><p>
<p> <!-- Begin Shinystat Free code -->
<script type="text/javascript" language="JavaScript" SRC="http://codice.shinystat.com/cgi-bin/getcod.cgi?USER=poisondusk"></script>
<noscript>
<A HREF="http://www.shinystat.com" target="_top">
<IMG SRC="http://www.shinystat.com/cgi-bin/shinystat.cgi?USER=poisondusk" ALT="Free web counters" BORDER="0"></A>
</noscript>
<!-- Begin Shinystat Free code --></p>
<p><!-- Start oggix.com ShoutBox -->
<script>
function showForm()
{
var div = document.getElementById("hideform_div_7225");
var openlink = document.getElementById("openlink_7225");
var closelink = document.getElementById("closelink_7225");
if(div.style.display!="none")
{
hideForm();
}
else
{
div.style.display = "block";
openlink.style.display = "none";
closelink.style.display = "block";
}
}
function hideForm()
{
var div = document.getElementById("hideform_div_7225");
var openlink = document.getElementById("openlink_7225");
var closelink = document.getElementById("closelink_7225");
div.style.display = "none";
openlink.style.display = "block";
closelink.style.display = "none";
}
function setSmileysPreLoad( smileCode )
{
document.shoutsmileys.comment.value = document.shoutsmileys.comment.value + smileCode;
document.shoutsmileys.comment.focus();
}
</script>
<LINK href="http://www.oggix.com/shout/7225/layoutForm.css" type=text/css rel=stylesheet>
<table width="170" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#4674AB" class="thebg">
<tr>
<td width="357" valign="top">
<table width="164" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center">
<iframe name="shout" src="http://www.oggix.com/shout/show/?oggixid=7225&type=1&smileys=1" width="200" height="400" border="0" frameBorder="0" noResize scrolling=yes>
Your browser does not support inline frames. Click <a href=http://oggix.com>oggix.com</a> for free Tagboard Shoutbox Guestbook.</iframe>
</div></td>
</tr>
<tr>
<form name="shoutsmileys" id="shou" method="post" action="http://www.oggix.com/shout/post/" target="shout">
<input type="hidden" name="oggixid" value="7225">
<input type="hidden" name="smileys" value="1">
<td><table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr valign="top">
<td width="35%" class="txtdcel">Name : </td>
<td width="65%" class="txtdcel"><input name="name" type="text" class="textbox" id="name2" size="20" maxlength="15" /></td>
</tr>
<tr valign="top">
<td class="txtdcel">Web URL : </td>
<td class="txtdcel"><input name="url" type="text" class="textbox" id="url" value="http://" size="20" /></td>
</tr>
<tr valign="top">
<td class="txtdcel">Message : </td>
<td class="txtdcel"><div align="right"><em>by. <a href="http://www.oggix.com" target="_blank">oggix.com</a> </em></div></td>
</tr>
<tr valign="top">
<td colspan="2" class="txtdcel"> <input name="comment" type="text" class="textbox" id="textarea" size="32" rows="3">
</input>
</td>
</tr>
<tr valign="top">
<td colspan="2" class="txtdcel" align="right">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align=center><a href="javascript:setSmileysPreLoad(':)');"><img border=0 src="http://oggix.com/shout/smileys/preview/smile.gif" alt=":)" width="16" height="16"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':(');"><img border=0 src="http://oggix.com/shout/smileys/preview/sad.gif" alt=":(" width="16" height="16"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':D');"><img border=0 src="http://oggix.com/shout/smileys/preview/bigsmile.gif" alt=":D" width="16" height="16"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':p');"><img border=0 src="http://oggix.com/shout/smileys/preview/p.gif" alt=":p" width="16" height="16"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':((');"><img border=0 src="http://oggix.com/shout/smileys/preview/cry.gif" alt=":((" width="16" height="16"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':))');"><img border=0 src="http://oggix.com/shout/smileys/preview/lough.gif" alt=":))" width="16" height="16"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':x');"><img border=0 src="http://oggix.com/shout/smileys/preview/love.gif" alt=":x" width="18" height="16"></a></td>
</tr>
</table>
<DIV id=openlink_7225 style="DISPLAY: inline">
<IMG src="http://oggix.com/shout/smileys/down.gif" border=0> <a href="javascript:showForm()" title="Open smiley picker" id="oggix">more smileys</a>
</DIV>
<DIV id=closelink_7225 style="DISPLAY: none">
<IMG src="http://oggix.com/shout/smileys/up.gif" border=0> <a href="javascript:showForm()" title="Close smiley picker" id="oggix">close smileys</a>
</DIV>
<!-- start smileys -->
<DIV id=hideform_div_7225 style="DISPLAY: none">
<table width="100%" border="0">
<tr>
<td align=center><a href="javascript:setSmileysPreLoad(';)');"><img border=0 src="http://oggix.com/shout/smileys/preview/ting.gif" alt=";)" width="16" height="16"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad('#-o');"><img border=0 src="http://oggix.com/shout/smileys/preview/headache.gif" alt="#-o" width="16" height="18"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad('>:D<\');"><img src="http://oggix.com/shout/smileys/preview/hugh.gif" alt=">:D<" width="16" height="16" border=0></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':-*');"><img border=0 src="http://oggix.com/shout/smileys/preview/kiss.gif" alt=":-*" width="16" height="16"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':gun');"><img border=0 src="http://oggix.com/shout/smileys/preview/gun.gif" alt=":gun" width="32" height="15"></a></td></tr>
<tr>
<td align=center><a href="javascript:setSmileysPreLoad('=D>');"><img border=0 src="http://oggix.com/shout/smileys/preview/applause.gif" alt="=D>" width="16" height="18"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':">');"><img border=0 src="http://oggix.com/shout/smileys/preview/shame.gif" alt=":">" width="16" height="16"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad('=))');"><img border=0 src="http://oggix.com/shout/smileys/preview/lol.gif" alt="=))" width="15" height="16"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':)>-');"><img border=0 src="http://oggix.com/shout/smileys/preview/piss.gif" alt=":)>-" width="22" height="17"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':hityou');"><img border=0 src="http://oggix.com/shout/smileys/preview/hit2.gif" alt=":hityou" width="35" height="20"></a></td></tr>
<tr>
<td align=center><a href="javascript:setSmileysPreLoad('\\\\:D/');"><img border=0 src="http://oggix.com/shout/smileys/preview/yeye.gif" alt="\:D/" width="16" height="16"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad('X-(');"><img border=0 src="http://oggix.com/shout/smileys/preview/angry.gif" alt="X-(" width="16" height="16"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':cheer');"><img border=0 src="http://oggix.com/shout/smileys/preview/cheer.gif" alt=":cheer" width="21" height="23"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad('I-)');"><img border=0 src="http://oggix.com/shout/smileys/preview/sleep.gif" alt="I-)" width="22" height="25"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':oops');"><img border=0 src="http://oggix.com/shout/smileys/preview/oops.gif" alt=":oops" width="30" height="20"></a></td></tr>
<tr>
<td align=center><a href="javascript:setSmileysPreLoad(':angry');"><img border=0 src="http://oggix.com/shout/smileys/preview/bigangry.gif" alt=":angry" width="21" height="20"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':drink');"><img border=0 src="http://oggix.com/shout/smileys/preview/drink.gif" alt=":drink" width="24" height="22" ></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':jump');"><img border=0 src="http://oggix.com/shout/smileys/preview/jump.gif" alt=":jump" width="23" height="22"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':devil');"><img border=0 src="http://oggix.com/shout/smileys/preview/devil.gif" alt=">:)" width="30" height="25"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':horse');"><img border=0 src="http://oggix.com/shout/smileys/preview/horse.gif" alt=":horse" width="30" height="27"></a></td></tr>
<tr>
<td align=center><a href="javascript:setSmileysPreLoad(':nono');"><img border=0 src="http://oggix.com/shout/smileys/preview/nono.gif" alt=":nono" width="23" height="23"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':kiss');"><img border=0 src="http://oggix.com/shout/smileys/preview/kiss2.gif" alt=":kiss" width="19" height="18"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':thumb');"><img border=0 src="http://oggix.com/shout/smileys/preview/thumb.gif" alt=":thumb" width="23" height="18"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':no');"><img border=0 src="http://oggix.com/shout/smileys/preview/no.gif" alt=":no" width="26" height="20"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':rock');"><img border=0 src="http://oggix.com/shout/smileys/preview/rock.gif" alt=":rock" width="28" height="24"></a></td></tr>
<tr>
<td align=center><a href="javascript:setSmileysPreLoad(':wavey');"><img border=0 src="http://oggix.com/shout/smileys/preview/dance.gif" alt=":wavey" width="19" height="27"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':worry');"><img border=0 src="http://oggix.com/shout/smileys/preview/worry.gif" alt=":worry" width="24" height="24"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':headache');"><img border=0 src="http://oggix.com/shout/smileys/preview/headache2.gif" alt=":headache" width="25" height="27"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':runaway');"><img border=0 src="http://oggix.com/shout/smileys/preview/runaway.gif" alt=":runaway" width="23" height="23"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':sorry');"><img border=0 src="http://oggix.com/shout/smileys/preview/sorry.gif" alt=":sorry" width="30" height="20"></a></td></tr>
<tr>
<td align=center><a href="javascript:setSmileysPreLoad(':surprise');"><img border=0 src="http://oggix.com/shout/smileys/preview/surprise.gif" alt=":surprise" width="24" height="20"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':sos');"><img border=0 src="http://oggix.com/shout/smileys/preview/sos.gif" alt=":sos" width="28" height="26"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':bomb');"><img border=0 src="http://oggix.com/shout/smileys/preview/bomb.gif" alt=":bomb" width="27" height="24"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':blah');"><img border=0 src="http://oggix.com/shout/smileys/preview/blah.gif" alt=":blah" width="27" height="26"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':hit');"><img border=0 src="http://oggix.com/shout/smileys/preview/hit.gif" alt=":hit" width="30" height="15"></a></td></tr>
<tr>
<td align=center><a href="javascript:setSmileysPreLoad(':yuhuu');"><img border=0 src="http://oggix.com/shout/smileys/preview/yahoo.gif" alt=":yuhuu" width="23" height="22"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':banana');"><img border=0 src="http://oggix.com/shout/smileys/preview/banana.gif" alt=":banana" width="27" height="33"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':jumpdie');"><img border=0 src="http://oggix.com/shout/smileys/preview/jumdie.gif" alt=":jumpdie" width="25" height="32"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':together');"><img border=0 src="http://oggix.com/shout/smileys/preview/together.gif" alt=":together" width="31" height="23"></a></td>
<td align=center><a href="javascript:setSmileysPreLoad(':2gun');"><img border=0 src="http://oggix.com/shout/smileys/preview/2gun.gif" alt=":2gun" width="28" height="20"></a></td>
</tr></table>
</DIV>
<!-- end smileys -->
</td>
</tr>
<tr valign="middle">
<td colspan="2" class="txtdcel"> <div align="center">
<input name="Submit" type="submit" class="textbox" value="Shout!!" />
<input name="Reset" type="reset" class="textbox" value="Reset">
</div></td>
</tr>
</table></td>
</form>
</tr>
</table></td>
</tr>
</table>
<!-- End oggix.com ShoutBox -->
</td>
<td><center>
***todays_comics*** </center>
<br><center>***first_day*** ***previous_day*** <img src="/images/navcentre.gif"> ***next_day*** ***last_day***</center></td>
</tr>
</table>
<h2> </h2>
<br />
<p> <center><table width="500" border="0" height="270">
<tr><td>
<p><p><b>Site Updates</b>
<p><p><b>8th October 2006</b>
<p>World info added, along with an update to the demon info in the races section.
<p><p><b>1st October 2006</b>
<p>I've let the site updates slip a bit, but hopefully I'll be able to sort that out soon.
<p><p><b>9th May 2006</b>
<p>It's been a while since I worked on the site. Expect bigger updates in a couple of months, when my exams finish.
<p>For now, I've added the last two clan images to the 'About' section and I changed where the comments are, to make them more visible.
<p><p><b>13th March 2006</b>
<p>Cast page is finished, for now (more characters will be added later). Bit of the 'about' page have been added, more are on the way soon.
<p><p><b>14th January 2006</b>
<p>The navigation buttons should all work now, with no broken links, although the pages themselves won't have any content yet, except for the links and archive. The first page should be up tomorrow, and hopefully some more site updates as well. </p>
<p>If you find any broken links or have any questions/comments, leave a message in the tagboard.</td></tr></table></center>
<br />
***comic_name*** is hosted on <a href="http://www.comicgenesis.com">ComicGenesis</a>, a free webhosting and site automation service for webcomics.
</div>
</body>
</html>
Posted: Tue Nov 28, 2006 11:34 am
by Oualawouzou
Do check your comic folder via FTP too. Maybe you mistakenly uploaded the folder where you store your comics on your personnal computer instead of uploading only the comic files.
Barring that, yes, the indextemplate.html code please.
Posted: Tue Nov 28, 2006 11:38 am
by Poisondusk
I checked the comic folder and it was fine. The indextemplate.html code is posted above.
Posted: Tue Nov 28, 2006 12:03 pm
by Swikan
Well, I see the ***todays_comics*** tag right there, plain as daylight.. and I see the navigation tags working just FINE in the SAME table cell (I had originally thought there was something wrong with the table html tags..), and I see from the source code that where the tag goes, it was properly converted to your URL for the image (
http://poisondusk.comicgenesis.com/comics/20061127.jpg), however, there is nothing there at that URL.
Is the comic still in your workspace/comics folder?
Posted: Tue Nov 28, 2006 12:05 pm
by Poisondusk
No, the folder's empty.
Posted: Tue Nov 28, 2006 12:13 pm
by Swikan
The only other thing I know to try is to reload the missing comic pages from your harddrive into your workspace/comics folder. Then run a regular update (to upload the comics again and check to make sure all the tags are read).
If the update is successful, the main page image will show up here:
http://poisondusk.comicgenesis.com/comics/20061127.jpg
If it's showing up there, it should show up on your index page (since your tag is correct).
If it doesn't show up on the index page, we will tinker a bit with the code for your page and see what's what.
Posted: Tue Nov 28, 2006 12:21 pm
by Poisondusk
It's there, but not showing up on my index page.
Also, when I reuploaded the page using my FTP client, it gave me an error message relating to the permissions on the file, but it still seemed to complete the upload. Would that have anything to do with the problem?
Posted: Tue Nov 28, 2006 12:39 pm
by Swikan
Yep, the image is there in its proper place and nope, it's not showing up on the index page!
You may have to wait for professional (admin) help on this one, Poison. I'm sorry that I"m just not knowledgeable enough to help further.
In the meantime, you might try taking the code for the shoutbox out and doing an "index only" update. This will eliminate the slight chance that something in the shoutbox code is interfering with the display. Your previous day's page is showing up just fine, I feel that it has to be something on your index page that interfering.
Posted: Tue Nov 28, 2006 12:51 pm
by Poisondusk
I've removed the shoutbox, but the page still isn't showing.
Thanks for doing what you could to help, though.
Posted: Tue Nov 28, 2006 12:55 pm
by Oualawouzou
Just curious: can you find that mysterious extra folder anywhere in your account? If so, where is it? Have you tried deleting it?
Posted: Tue Nov 28, 2006 1:02 pm
by Poisondusk
I can't find it anywhere. I've checked all of my folders and there's no sign of it.
Posted: Tue Nov 28, 2006 1:29 pm
by Adobedragon
You know what's weird? Looking at the code snippet Swikan posted above, I see that the image's height and width are set to zero. I get the same result when I right click on your page and view the source.
From what I understand, the ComicGen program automatically sets the "width" and "height" parameters to correspond to the file's dimensions. So, for example, if your comic's image is 640 pixels wide, the width gets set to 640.
It seems like the program is seeing the file, but treating it like an empty file. Hence the "width=0" setting. Maybe your FTP program is doing something to the image that makes the script see the file as empty.
You could try using the <a href="
http://siteadmin.comicgenesis.com:8080/ ... eb-ftp.cgi" target="_blank">CG FTP</a>.