Could not found load model sale/order OpenCart - php

Suddenly I started to recieve the below error when tring to access mysite.com/admin
There are no solutions on the internet, so I kindly request your help on how to solve this
Notice: Error: Could not load model sale/order! in /home/hirdavatdeposu.com/httpdocs/system/engine/loader.php on line 48

Re upload the file (unsure as to which it is, so just upload both) from a fresh copy
/catalog/model/sale/order.php
/admin/model/sale/order.php

Related

checking upload file size before uploading to server

I am trying to upload image using laravel and successfully uploaded
images and everything worked fine and I tried to check if validation is working so I tried to upload a mp3 file, at first I get error from laravel.
TokenMismatchException in VerifyCsrfToken.php line 67:
So I googled and I got information that I have to change post_max_size in php.ini file.
So I changed to 40 and my error is gone and I get form validation error file must be image, which is what I expected and then I got a doubt what if someone uploads file greater than 40. So that I am asking this.
How can I set an error message before laravel gives me this
TokenMismatchException in VerifyCsrfToken.php line 67:
I know I can use jquery.prefer (php based) validation. How can I do that? I have seen example here: http://laravel.io/forum/02-20-2014-l40-csrf-tokenmismatchexception-when-uploading-large-files, but I don't know how to implement it. Please give some advice or where to write code in the above link.

PHP Myadmin call to undefined function PMA_SQP_parse()

When working on my webpage, I reloaded twice to check the results after editing... and got this error when trying to acces my localhost database page:
Fatal error: Call to undefined function PMA_SQP_parse() in C:\xampp\phpMyAdmin\libraries\Util.class.php on line 1126
When I google for this issue, I only find 6 results, and I don't think any of the 6 would resolve my issue.
Has anyone had this issue before? I've looked on the PHPMyAdmin page, for support.. but the only result is them saying I have to ask my issue here...
Try clearing session storage for your phpmyadmin domain
Well, for anyone who is interested in a fix... for me rebooting my PC worked.

Problems with thumbnail showing

Thumbnails not showing on my (freshblog theme) home and archive page, here http://goo.gl/EY5ljA
It seems error is here:
Warning: finfo_open() [function.finfo-open]: Failed to load magic database at '/usr/share/misc/magic'. in /home/eedcorgge/domains/eedc.org.ge/public_html/wp-content/themes/freshblog/includes/timthumb.php on line 373
http://eedc.org.ge/wp-content/themes/freshblog/includes/timthumb.php?src=http://eedc.org.ge/wp-content/uploads/2014/06/10434345_315215635301355_8010689018037474726_n.jpg&h=100&w=100&zc=1
I tried to use new version of timthumb.php, tried to change cache and other folders permission, but no results.
I found similar problem here Failed to load magic database at '' Laravel 4
But Don,t know what to do.
Can anyone help me with fresh idea?

Fatal error: Class 'CI_Controller' not found in H:\php2\htdocs\property\system\core\CodeIgniter.php on line 233

In codeigniter i have started one property related project for my client.
I am getting an error
Fatal error: Class 'CI_Controller' not found in H:\php2\htdocs\property\system\core\CodeIgniter.php on line 233 after i have complete some development.
I have really search it for many time in google and in stackoverflow but still didn't get solved.
Thanks in advance,
Well, m not sure but i guess it can happen because of changes in database settings.
codeigniter sometimes show this very weird behaviour that giving this fatal error "CI_Controller" not found even there's nothing wrong with the core files.
so- try debugging like this-
1)check your database seetings located at config/database.php
2)If it does'nt works, re-uploading the system files.
I hope this helps.
Check your database config in application/config/database.php it's one of the major time consuming error message I faced with CI. Because the error message was simply misleading. So, check the database config first.

Could not found load model total/subtotal OpenCart

Suddenly I started to recieve the below error when tring to access mysite.com after installing opencart. I kindly request your help on how to solve this ...
Notice: Error: Could not load model total/sub_total! in /home/xxxxx/public_html/system/engine/loader.php on line 37
Steps to try :
Check whether this file exists: catalog\model\total\sub_total.php.
Verify the file permission of catalog\model\total\sub_total.php.

Categories