![]() |
ACP Error : Fatal error: Class 'AppController' not found in...
I tried the script on a new host today. Everything worked so far expect the admincp. I can login in the cp but when I try to add an image/ a pet or something else I get the following error:
Code:
Fatal error: Class 'AppController' not found in /www/.../admincp/adopt.php on line 3 |
umm this is weird, it works for everyone else... Can you first check if there is indeed a file called abstract_appcontroller.php in your /classes/abstract folder? If you have this file, then the inclusion of appcontroller may be the cause of the issue. Can you post the code in your adopt.php file from /admincp directory? I will see if there is an error in it.
|
The file 'abstract_appcontroller.php' is in the classes/abstract folder.
Here is the code from the adopt.php (I didn't change anything): PHP Code:
|
umm yeah this is indeed weird, the script file does not look wrong. Are you sure this happened to you after moving host? You never had this same issue before? Anyway you can try out Mys v1.3.3 and see if the error goes away after you upgrade/re-install.
|
I don't move the site yet. I tried it with a clear copy of the script first.
I'll try it with Mys 1.3.3 again. Maybe it will help^^ Thanks for your help |
No worries, I just wonder why you are getting an error nobody else has ever had before. If it is a fresh installation you shouldnt be having any issues, unless you are on a subdomain that does not allow url with 'www.'?
|
That might be possible. At the moment I test a hostingserver which need payment and they offer a testing account for seven days so everyone can test their service without creating an own account. It could be that the testing account don't allow the 'www' part.
Okay now I tried it now with Mys 1.3.3 and now nothing work anymore. When I try to enter the index.php I get this: PHP Code:
|
Well give a try changing the CMD of your folders cache, compile and config in the directory template to 777. It seems that it has no permission to compile your template.
|
That helped. The site works again, but now I can't login anymore. When I enter the password and the username it say login successfull but when I enter a new page it says that I'm not logged in.
|
umm this is weird, do you notice a significant change in the url you type? I mean, from http:// to http://www. all of a sudden?
|
That is the reason^^
When I enter http://www.mysite.com in the url I'm logged in but as soon as I click a link it goes back to http://mysite.com and I'm logged out. |
umm I see, so try sticking to the url without www, this is now the standard of the script. I believe on most pages if you enter www in your url you will get automatically redirected to the url without www, though sometimes the index page does not do that(which can be a problem if you log in at index page).
|
I wrote that a bit misunderstandable.
normally the url is on all pages http://mysite.com and the login doesn't work. When I enter the 'www' part manually the login works for the current page until I click of a link. |
Quote:
|
|
Quote:
|
I found my problem...
It's so stupid... I simply needed to clear my cookies and now it works. And the admincp works, too. Sorry I should have thought of this earlier. Many thanks for your time and your help. |
No worries, I am glad the script is working for you now. Lemme know if you find any bugs or errors, I'll see what I can do to fix them.
|
Hm, I'm having a similar error, and have no idea how to fix it...
I just finished installing my script, and went to my site to click the login. It gives me: Fatal error: Class 'AppController' not found in /home/brook/public_html/adopt.php on line 3 And when I click on anything, it gives me "page cannot be found". The ACP seems to be working, I just can't access it :/ So...what do? I'm using webhost x10hosting with subdomain elementfx, if that's needed. Otherwise, the site appears to not be working. I'm using 1.3.3, too. Gah, I have too many questions -.-; |
If you are getting the AppController not found error, chances are url rewrite aint working properly. You may try reinstall the script, but I doubt it will help. Anyway x10hosting seems to have some trouble with url rewrite for a few people, there is a chance that you have to fix up the .htaccess file a bit to get it to work.
|
Alright, so how exactly do I fix up the .htaccess?
|
Did you try reinstalling the script? It still wont work for you even if you install a fresh copy? If so, you may need to submit a ticket to your host and see if they can get anything out of it, this looks like a host-specific issue to me.
|
I reinstalled, and now it's working. Except that I can't login with my admin username and password -.- Should I just keep reinstalling until it works, or...?
|
Quote:
|
Did both, and it didn't work... I know I'm using the right password and username...
|
Umm this is weird, can you check if the user actually exists in ur database? If not, this may as well be the problem. Otherwise, just try to reset your password by clicking the forgetpassword link and see what you get.
|
Indeed, it says there are no registered members on the memberlist.
|
Quote:
|
Yay, it worked!
Thank you very much for all your time and help! |
My pleasure, glad it finally works for you. Tbh I am still kinda wondering why some people are getting the class appcontroller not found error while this can be easily fixed by simply reinstalling the script lol.
|
Hi there ...
I have the same problem. and more ... other ... whatever :madnoes: I've installed the MA 1.3.3 at a new webspace. (bplaced.net) I see the index-page. But nothing else. I can't login, it stays at the index-page(after I clicked the login-button) I try to register ... index-page... I wrote manually the site-url, I would like to see (register.php or pond ... and without .php) and see ... the index-page. :angrygrin: I got "Class 'AppController' not found ..." after I renamed .htaccess (to htaccess.old) Seems that there's a fault in the htacces ??? Heeeeelp meeeee please ... Cor blimey! |
okay, I've installed the script new - at another path ... killed something, embeded something ... and ... works. I)
But some pages redirected to the index-page. Levelup and manage for example and some else... why that ? |
Which all are redirecting ?
Can you get a list of them, it will help :) |
This is the list of redirecting pages:
lgoin/logout myadopts/manage (the adoptable) profile/view/ account/password account/email account/profile account/contacts account/friends messages/newpm messages/draft messages/outbox newpm changestyle/index/green (and all others) trade/view levelup/daycare levelup/click search/user (and adopt and item) forgotpass/reset shop/browse/Shopname seems as if there was a problem with the links, including "/" but at the ACP I don't have this problem... thank you for help :) |
no one else, who had an idea to solve ? :(
|
I haven't forgotten you, I've been trying this out on my own site, trying to replicate it :)
Plus I was having some posting issues here, but it's not doing it for me at all --- I can't work it out, going to have to ask HoF to see what he thinks! I have tried a couple things I thought might be the issue but it wasn't, it's hard for me to see why it's doing this. |
@ Annatar
I hoped, you said something like "I haven't forgotten you" :ti: In the meantime I've tried out a few (free) webspaces (incl myspql) but every webspace gives me another error message :displeased: I'll patiently wait, till you or HoF will giving me the answer to this problem... |
Re-download Mys v1.3.3 and upload the script files to your adoptables directory, this may as well fix your issue. I recall that the router was malfunctioning upon the initial release of this script, but it was resolved immediately. I reuploaded Mys v1.3.3 to rapidshare/mediafire then, while some of you may have missed it somehow.
|
aahh.. that's it.
Thank you very much ! I've first just "classes" fresh upload and now it works fine. :usedusedused: |
Glad it worked out for you, its actually just the class_router.php that was slightly modified.
|
All times are GMT -5. The time now is 08:17 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.