I have 2 problems with my shop and i guess this 2 problems kinda related.
first is I've added Downloads and added product, and now when i buy my product (for test with zero price) my downloads are empty and my orders history are empty and product availability is not reducing (by the way i get successful purchase).
the second problem is my error logs, and i don't know what to do.
the codes are a lot i will attach it.
Attachments
We here too!
Just writing that you have 2 problems is really not enough.
Which OpenCart Version are you using?
Which additional Extension have you installed and in use?
Just 2 questions you have to provide with answer before anyone is able to give an answer.
Next, read your error.log and you will see clearly what cause these errors (warnings).
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Code: Select all
PHP Warning: mkdir(): Permission denied in /home/mrsdts/public_html/shop/admin/controller/common/security.php on line 94
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Oh sorry for that i must forgot to mention those,OSWorX wrote: ↑Mon Oct 19, 2020 2:33 pmWe here too!
Just writing that you have 2 problems is really not enough.
Which OpenCart Version are you using?
Which additional Extension have you installed and in use?
Just 2 questions you have to provide with answer before anyone is able to give an answer.
Next, read your error.log and you will see clearly what cause these errors (warnings).
I'm using version 3.0.2 and i didn't install any Extensions, everything is default
for errors i know what it is but i don't know how to fix it
is not a standard file of OpenCart.!controller/common/security.php
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
All permissions are good i checked all of them, in another line it said no such file or directory but security.php existpaulfeakins wrote: ↑Mon Oct 19, 2020 7:06 pmMake sure all files are 644 and all folders are 755 and are owned by the correct user.Code: Select all
PHP Warning: mkdir(): Permission denied in /home/mrsdts/public_html/shop/admin/controller/common/security.php on line 94
It is.
Is the controller that display a modal popup if storage folder was no moved outside of public_html.
Better move storage manually if auto doesn't work.
Line 94 is this
Code: Select all
mkdir($path . $directory, 0777);
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Storage directory is out of public_html but error is still there, i checked the code but still i don't know what to doxxvirusxx wrote: ↑Mon Oct 19, 2020 10:21 pmIt is.
Is the controller that display a modal popup if storage folder was no moved outside of public_html.
Better move storage manually if auto doesn't work.
Line 94 is thisCode: Select all
mkdir($path . $directory, 0777);
Sorry, you are right.
This file was introduced with the fixed package 3.0.3.1.
One more reason to post always the used OpenCart Version in the 1st post!
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
first for error logs that was my bad, everything was great and error logs was for first time setup and auto move that didn't worked and in both config.php and /admin/config.php i needed to add path to storage directory.
next one order registration failure that is i needed to go on payments > free checkout and change the status to complete, now everything is working fine.
thanks a lot to everyone that participated in this topic.
Users browsing this forum: No registered users and 183 guests