Page 1 of 1
OC 5.1.3.1Fatal error: Class 'Modelaccountorder'
Posted: Tue Jul 17, 2012 6:32 pm
by Runes
Hi.
New user. Been working on my page for a couple of days. Alot more to figure out, but I've managed to change languiage and some other things, so far. However there is a problem:
Fatal error: Class 'Modelaccountorder' not found in /home/54/w189558/rseuroford/system/engine/loader.php on line 46
EDIT: This error show on the screen when I try to log on as a customer. However; if I reload the page, it show just fine. (This is in IE.) If I try to make an order, it al goes well until go to the checkout. Then "Fatal error: Class 'Modelaccountaddress' not found in /home/54/w189558/rseuroford/system/engine/loader.php on line 46" show up between step 2 (payment) and step 3 (shipping adress).
There are also other related errors showing up: "modelaccount....." ....= adress, order and others. Quite sure there's an easy fix!
Got this while logged in as customer.
Found nothing useful searching.
Pls. help!
Thank you
RuneS
Re: Fatal error: Class 'Modelaccountorder' not found in /hom
Posted: Wed Jul 18, 2012 12:34 am
by oscprofessionals
Check if you have following file:
catalog>>Model>>account>>order.php
and its permissions.
Also check the path specified.
Re: Fatal error: Class 'Modelaccountorder' not found in /hom
Posted: Wed Jul 18, 2012 5:05 pm
by Runes
File is there.
Permission I do not know what to check?
In line 46 in the loader.php- file I find:
$this->registry->set('model_' . str_replace('/', '_', $model), new $class($this->registry));
Somethings missing?
regards
RS
Re: OC 5.1.3.1Fatal error: Class 'Modelaccountorder'
Posted: Thu Jul 19, 2012 2:24 am
by Runes
I could really need some help here....
Re: OC 5.1.3.1Fatal error: Class 'Modelaccountorder'
Posted: Thu Jul 19, 2012 3:30 am
by straightlight
From your cPanel - > File Manager - > public_html folder, go to your OpenCart folder if you have a sub-folder. Then, see if the catalog/model/account/order.php file actually exists before concerning any permissions subject.
Re: OC 5.1.3.1Fatal error: Class 'Modelaccountorder'
Posted: Thu Jul 19, 2012 5:45 pm
by Runes
straightlight wrote:From your cPanel - > File Manager - > public_html folder, go to your OpenCart folder if you have a sub-folder. Then, see if the catalog/model/account/order.php file actually exists
Yes, the file exists.
Re: OC 5.1.3.1Fatal error: Class 'Modelaccountorder'
Posted: Thu Jul 19, 2012 9:26 pm
by straightlight
Ok. Now, on the same row where you see that file, you will see some icons on the right. See for one that is called: "Permissions" when you roll-over your mouse on each. If you can find it, click on it and see what is that file's permission value setting. If you can't find it, click on the checkbox on the left of your filename and see from the file manager's header menu if you can see a button or a link called: "chmod".
Those links variations may be involved regarding the version of Plesk / cPanel your host is using and also based on the hosting plans.
Re: OC 5.1.3.1Fatal error: Class 'Modelaccountorder'
Posted: Fri Jul 20, 2012 4:34 am
by Runes
Thanks for your reply; Ill look into it.
Using DW for FTP and will have to figure out how it's looking there..
RS
Re: OC 5.1.3.1Fatal error: Class 'Modelaccountorder'
Posted: Fri Jul 20, 2012 5:49 am
by Runes
Sorry. Could not work it out in Dreamweaver. I do not know where or what to look for.
Regards
Runes
Re: OC 5.1.3.1Fatal error: Class 'Modelaccountorder'
Posted: Fri Jul 20, 2012 8:21 am
by straightlight
Again, look in your Plesk / cPanel console.
Re: OC 5.1.3.1Fatal error: Class 'Modelaccountorder'
Posted: Fri Jul 20, 2012 5:08 pm
by Runes
Hi.
I'm not using Plesk / cPanel
I have php admin / mysql and use DW for FTP, so I cannot see what you ask me to look at.
If someone doesn't come up with something I either have to reinstall and try again or quit using OC.... I have no clue what to look for.
Straightlight: Thanks for trying to help. I see you post frequently to help people. That's good.
Thanks
RS
Re: OC 5.1.3.1Fatal error: Class 'Modelaccountorder'
Posted: Fri Jul 20, 2012 8:39 pm
by straightlight
Under FTP, right-click on the catalog/model/account/order.php file and look for: "Chmod". Then, click on it and see what is the permission value.
Re: OC 5.1.3.1Fatal error: Class 'Modelaccountorder'
Posted: Wed Aug 08, 2012 3:13 am
by Runes
Aha... Now i see the blind man said....
Permissions were like this:
Read: Owner, user/ group and Everyone
Write: Owner
Execute: non
I should set permissions to everyone to write, I guess. Execute: non?
I'll check and see what I can figure out.
I've tried to check for ue\ser/group and everyone to write, but it didn't change anything.
Thank you for your help so far, straightlight.
Re: OC 5.1.3.1Fatal error: Class 'Modelaccountorder'
Posted: Wed Aug 08, 2012 5:49 am
by Runes
I just found a bunch of error logs when I googel'd "Class 'Modelaccountorder' not found".
Very strange I cannot find any solution to this...