Jump to content

rename php


vkruml

Recommended Posts

I rename DbQuery.php to DbQuery.php.old and after this return name to DbQuery.php.

No any other changes. The shop stop working at all!

 

PHP Fatal error:  Class 'DbQuery' not found in ........../classes/ObjectModel.php on line 197.

 

But I didn't change any file or structure.

 

Can anybody explain me how it possible?
 

 

Link to comment
Share on other sites

Check a few things:

 

1) Is the name exactly the same as before? Capitals on the right place. For example DBQuery.php Isn't the same as DbQuery.PHP

2) Are the permissions changed? Set the permissions to 644 of files, 755 of folders. If that doesn't help, try permission of files to 755 or even 777 for a moment and see if that makes it run. (777 should never be needed, and NOT recommended, as anyone can then change your file!!)

 

My 2 cents,

pascal

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...