Fatal error on new install
-
- Inscrit en : 06.12.03
- Dernière visite : 15.08.09
- Messages : 4294967292
I have a completly new install of Postnuke .75 and can not get phpcomic to work. I can get into the admin area and adjust the comics and add comics but when I add {phpcomic} to my main menu I get the following error:
Code
Fatal error: Cannot instantiate non-existent class: phpcomic in /homepages/22/d94423539/htdocs/modules/phpcomic/pnuser.php on line 219
Please help as this is my favorite module -
- Rang : Site Admin
- Inscrit en : 06.12.03
- Dernière visite : 25.02.10
- Messages : 274
Hello,
apparently phpcomic is unable to include the class.phpComic.php file because just before the line causing the error there isCode
include ("modules/phpcomic/class.phpComic.php");
this is wierd !!
So after verifying that this file is really on your server (a lot of people are uploading file with various software just to found one day that some files are missing, in my opinion a good ftp program is the best solution) you can try to replace this line with
Code
include ("class.phpComic.php");
to see if it work. -
- Inscrit en : 06.12.03
- Dernière visite : 15.08.09
- Messages : 4294967292
it seems like for some reason I have a lot of files misnamed, they have lowercase letters where the code calls for uppercase. example, my file was class.phpcomic.php. I corrected that and then got an error on Snoopy.class.php because mine was named snoopy.class.php.
I corrected both of those and now I am fine. Its strange because I downloaded the file on my webserver thru ssh using lynx and unzipped it on my webserver. so I never transfered from my computer to my webserver.
Just redownloaded though on my computer and its fine. so I guess my webservers unzip program changed to all lowercase. thats no good.
anyway, thanks for the very quick response in helping me get my most favorite postnuke module working
-
- Rang : Site Admin
- Inscrit en : 06.12.03
- Dernière visite : 25.02.10
- Messages : 274
Hello,
Happy that the problem get solved. I left this mixed case filename from the 1.02 version but I think this was a bad idea. Now I will choose all lowercase names for all the files in the modules I release, less problems
-
- Inscrit en : 06.12.03
- Dernière visite : 15.08.09
- Messages : 4294967292
I know this is a very old post but I am having the same problem. I get:
PHP Fatal error: Class 'phpComic' not found in D:\www\modules\phpcomic\pnuser.php on line 219
I checked the file names and their all fine. I also cheched the phpcomic directory under pntemp and it all seems fine to me. Im kind of at a loss as to how to make this work.
Im using postnuke .764 with IIS. Please help if possible and thank you. -
- Rang : Site Admin
- Inscrit en : 06.12.03
- Dernière visite : 25.02.10
- Messages : 274
Hello,
Have you tried my previous solution ? Other than that and a filename not exactly the same I can think of no reason why the script is not able to find the file !
vedrine
Hello,
apparently phpcomic is unable to include the class.phpComic.php file because just before the line causing the error there isCode
include ("modules/phpcomic/class.phpComic.php");
this is wierd !!
So after verifying that this file is really on your server (a lot of people are uploading file with various software just to found one day that some files are missing, in my opinion a good ftp program is the best solution) you can try to replace this line with
Code
include ("class.phpComic.php");
to see if it work.
Utilisateurs en ligne
- 10 visiteurs
Données pour les 15 dernières minutes








