View Full Version : Problems with cronimage.gif on custom page
Antivirus
10-30-2007, 01:59 PM
I've created a custom page, which as one would expect, contains the footer template at the bottom. Now the footer template has not been modified, therefore one would expect that scheduled tasks should run when the footer is loaded (because cronimage.gif is included within the footer).
This is not the case, it seems when my custom page is loaded, scheduled tasks are not run.
Is there something that I am missing which needs to be called other than simply evaluating the footer template to ensure that cronimage.gif calls cron.php?
One issue that could be is that the custom page is located in root directory, and forums are located in /forum directory.
Any ideas???
:confused:
Lynne
10-30-2007, 03:41 PM
Change the path to be a full path to the image.
TheMilkCarton
10-30-2007, 04:31 PM
Change the path to be a full path to the image.
Look in your vBoptions. You can't, technically. It's a little more complicated than that.
The cronimage.gif image is called with $cronimage in footer, and it calls cron.php with a relative path.
So, what is happening with your custom page is that it is looking for "domain.com/cron.php" when it obviously isn't there. I got this error all the time in my Apache logs on my test board (using vBadvanced), which is why I started using this mod ==> https://vborg.vbsupport.ru/showthread.php?t=160514
The plugin uses an absolute path to cron.php, so there shouldn't be any such issues if you were to use that hack.
.... And this really isn't a design/graphics question, either. You probably would have gotten an answer sooner if you posted it somewhere else. :)
Antivirus
10-30-2007, 06:53 PM
Thanks Milk. I suppose I could do a quick fix by simply copying the clear.gif image to the root directory as well then. I suppose that would work. Thanks :)
TheMilkCarton
10-30-2007, 10:15 PM
I don't honestly think it would work that way.... I can't be sure though, but if the path to cronimage.gif is relative, I'd imagine the path to cron.php is too. :)
You should check your error logs to see if you keep getting a file not found at domain/cron.php
Antivirus
10-31-2007, 06:43 PM
well, you're right. simply copying the image to the root directory doesn't cause the scheduled tasks to run :(
Antivirus
11-14-2007, 06:03 PM
any other ideas?
New Joe
07-05-2013, 05:41 AM
Sorry for bumping an old Thread.
But my rss feeds on vb 4.2.0 don't run automatically.
I have a custom Style for my site.
I think it is something to do with the cron but can't work out what
Any help from anyone?
What does the cron call on?
Does it call on an image?
If so what image?
Where?
Paul M
07-07-2013, 02:11 PM
Please start a new thread in the appropriate section, this is an ancient vB3 thread.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.