Tools directory cant load certain classes
Permalink
We moved our project to a new server.
Its all working fine, the whole dashboard is working fine.
htaccess is working.
But, when I do a ajax call to the tools directory (for example) /tools/mapdata/user
in the user.php the class Loader isnt found, the class User isnt found.
so on every url inside the tools dir, I am getting a 500 internal server error.
Anyone know what kind of server settings could cause this ?
Its all working fine, the whole dashboard is working fine.
htaccess is working.
But, when I do a ajax call to the tools directory (for example) /tools/mapdata/user
in the user.php the class Loader isnt found, the class User isnt found.
so on every url inside the tools dir, I am getting a 500 internal server error.
Anyone know what kind of server settings could cause this ?
Hi Rony,
I have changed them all to 777 now, but I still get the same problem.
Also if I add the
I will get an access denied msg. While on the other server, I didnt.
Somehow its not loading everything if I go trough the tools directory on the new server.
I have changed them all to 777 now, but I still get the same problem.
Also if I add the
I will get an access denied msg. While on the other server, I didnt.
Somehow its not loading everything if I go trough the tools directory on the new server.
Not sure but you could have a try, just create a new directory and put the Ajax page there and call it from there. Then check whether the same problem exists. If so then you might need to contact your hosting provider.
Rony
Rony
Hi Rony,
I just found the problem.
On our own server I could use /tools/mapdata/user
On this server (even with the htaccess) I have to use /index.php/tools/mapdata/user.
Now its working :)
I just found the problem.
On our own server I could use /tools/mapdata/user
On this server (even with the htaccess) I have to use /index.php/tools/mapdata/user.
Now its working :)
Rony