-
- registered:
- March 2005
- Status:
- offline
- last visit:
- 13.03.05
- Posts:
- 2
Hi
There seems to be several problems running phpcomics 2.0
It is not possible to load :
http://yff.dk/i...phpcomic&type=user&func=main
Then you get the error :
Failed to load module phpcomic (at function: "main")
it is only :
http://yff.dk/i...phpcomic&type=user&func=view
That is working inspite mentioned in the manual, that both are working.
Also when i go to :
http://yff.dk/i...phpcomic&type=user&func=view
I get the following error :
Warning: Smarty error: pnimg: image comics.png not found in /var/www/virtual/yff.dk/htdocs/includes/classes/Smarty/Smarty.class.php on line 1083
And i have comics.png in all lang directories... also the error mentioned at postnuke.com
One of the comics id=5 gave me the following error :
Fatal error: Call to undefined function: grabsimpleregexp() in /var/www/virtual/yff.dk/htdocs/modules/phpcomic/class.phpComic.php on line 188
A good function could be a cronjob, that could get all the comics at a time you tell it to. But remember to have 30 seconds or so between each comic....then your site will be up to date everytime anyone visit you.
By the way could it be possible to have the same comics as you or perhaps we could build a big database or comics sites for phpcomics 2.0 ??
sincerely
findsvar -
- rank:
-
Site Admin
- registered:
- December 2003
- Status:
- offline
- last visit:
- 21.07.08
- Posts:
- 261
Hello,
I don't understand your url problems
- http://yff.dk/i...ule=phpcomic should work
- http://yff.dk/i...func=display should also work and is in fact working on your website
- http://yff.dk/i...mp;func=main should work
You can try on my own website all is working as expected. Did you try to download the final version and replace all the files on your website ?
The problem with comic id=5 is caused because (as explained in the final release documentation) I dropped the grabsimpleregexp method. If you tell me what is comic id 5 in your database I cabn tell you how to grab it (if it is still available). In the meantime, to avoid displaying the error to your visitors go to phpcomic administration and deactivate the comic id 5 (don't delete it, just deactivate)
Look at my website I cache all comics for 1 day so even if the comic you are asking for isn't loaded the grabbing process is quite fast. Do you really think a cron job is necessary. I am affraid to get alot of support queries from people not knowing how to setup a cron job !!!
I don't want to maintain a list of parameters for the comics on my own website because I am not quite sure of the legal issues, but I can send you privately all the ones I have if you want.
In the final version released this week there is a short "how to" doc explaining how to grab comics.



