It has been a while, i can't upload the photos succesfully. It always shows like below. Anybody have an idea what is the problem?
Last edited by goodluck2019 on Thu Jun 01, 2023 2:31 pm, edited 1 time in total.
Are you able to access the images directly through your website's URL, i.e. https://yourwebsite.com/image/catalog/901 1.jpg?
Try checking your error logs for any errors. Also, check your permissions for image and cache directories ("/image", "/image/catalog", "/image/cache"), they should be 755.
Try checking your error logs for any errors. Also, check your permissions for image and cache directories ("/image", "/image/catalog", "/image/cache"), they should be 755.
Reach out to us at hello@softmonke.com for your OpenCart web development needs.
It is version 3.0.2.0
I checked the error log and it shows "Waarschuwing: Uw error-log bestand error.log is 935.24GB groot! ". What does this mean?
Last edited by goodluck2019 on Sun May 28, 2023 3:27 pm, edited 1 time in total.
I tried to check these images through the URL, I can perfectly see them. But if I post the product, it doesn't show...softmonke wrote: ↑Sun May 28, 2023 8:01 amAre you able to access the images directly through your website's URL, i.e. https://yourwebsite.com/image/catalog/901 1.jpg?
Try checking your error logs for any errors. Also, check your permissions for image and cache directories ("/image", "/image/catalog", "/image/cache"), they should be 755.
The error log shows "Waarschuwing: Uw error-log bestand error.log is 935.24GB groot! ".
Last edited by goodluck2019 on Sun May 28, 2023 3:28 pm, edited 1 time in total.
That means, that your Error Log has a size of 935.24 GigaByte !
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.
I spend my whole day on it Now I have cleaned this big file...
This is error I got when I want to upload a photo:
2023-05-28 12:51:35 - PHP Unknown: The Twig_Autoloader class is deprecated since version 1.21 and will be removed in 2.0. Use Composer instead. in /customers/5/0/6/mywebsite/httpd.www/vqmod/vqcache/vq2-system_library_template_Twig_Autoloader.php on line 12
2023-05-28 12:51:35 - PHP Unknown: Using Twig_Autoloader is deprecated since version 1.21. Use Composer instead. in /customers/5/0/6/mywebsite/httpd.www/vqmod/vqcache/vq2-system_library_template_Twig_Autoloader.php on line 30
2023-05-28 12:51:35 - PHP Unknown: Passing a name as a first argument to the Twig_Environment::addFunction method is deprecated since version 1.21. Pass an instance of "Twig_SimpleFunction" instead when defining function "html_variables". in /customers/5/0/6/mywebsite/httpd.www/system/library/template/Twig/Environment.php on line 1100
2023-05-28 12:51:35 - PHP Unknown: Passing a name as a first argument to the Twig_Environment::addFunction method is deprecated since version 1.21. Pass an instance of "Twig_SimpleFunction" instead when defining function "comercia_url_image". in /customers/5/0/6/mywebsite/httpd.www/system/library/template/Twig/Environment.php on line 1100
Old OC version. Better to upgrade to the latest OC v3.x releases. Take note that the composer is also not up-to-date with PHP 8.2 while using OC v3.0.3.8 from opencart.com .goodluck2019 wrote: ↑Sun May 28, 2023 9:58 pmI spend my whole day on it Now I have cleaned this big file...
This is error I got when I want to upload a photo:
2023-05-28 12:51:35 - PHP Unknown: The Twig_Autoloader class is deprecated since version 1.21 and will be removed in 2.0. Use Composer instead. in /customers/5/0/6/mywebsite/httpd.www/vqmod/vqcache/vq2-system_library_template_Twig_Autoloader.php on line 12
2023-05-28 12:51:35 - PHP Unknown: Using Twig_Autoloader is deprecated since version 1.21. Use Composer instead. in /customers/5/0/6/mywebsite/httpd.www/vqmod/vqcache/vq2-system_library_template_Twig_Autoloader.php on line 30
2023-05-28 12:51:35 - PHP Unknown: Passing a name as a first argument to the Twig_Environment::addFunction method is deprecated since version 1.21. Pass an instance of "Twig_SimpleFunction" instead when defining function "html_variables". in /customers/5/0/6/mywebsite/httpd.www/system/library/template/Twig/Environment.php on line 1100
2023-05-28 12:51:35 - PHP Unknown: Passing a name as a first argument to the Twig_Environment::addFunction method is deprecated since version 1.21. Pass an instance of "Twig_SimpleFunction" instead when defining function "comercia_url_image". in /customers/5/0/6/mywebsite/httpd.www/system/library/template/Twig/Environment.php on line 1100
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thanks a lot! I will try to upgrade it.straightlight wrote: ↑Sun May 28, 2023 10:40 pmOld OC version. Better to upgrade to the latest OC v3.x releases. Take note that the composer is also not up-to-date with PHP 8.2 while using OC v3.0.3.8 from opencart.com .goodluck2019 wrote: ↑Sun May 28, 2023 9:58 pmI spend my whole day on it Now I have cleaned this big file...
This is error I got when I want to upload a photo:
2023-05-28 12:51:35 - PHP Unknown: The Twig_Autoloader class is deprecated since version 1.21 and will be removed in 2.0. Use Composer instead. in /customers/5/0/6/mywebsite/httpd.www/vqmod/vqcache/vq2-system_library_template_Twig_Autoloader.php on line 12
2023-05-28 12:51:35 - PHP Unknown: Using Twig_Autoloader is deprecated since version 1.21. Use Composer instead. in /customers/5/0/6/mywebsite/httpd.www/vqmod/vqcache/vq2-system_library_template_Twig_Autoloader.php on line 30
2023-05-28 12:51:35 - PHP Unknown: Passing a name as a first argument to the Twig_Environment::addFunction method is deprecated since version 1.21. Pass an instance of "Twig_SimpleFunction" instead when defining function "html_variables". in /customers/5/0/6/mywebsite/httpd.www/system/library/template/Twig/Environment.php on line 1100
2023-05-28 12:51:35 - PHP Unknown: Passing a name as a first argument to the Twig_Environment::addFunction method is deprecated since version 1.21. Pass an instance of "Twig_SimpleFunction" instead when defining function "comercia_url_image". in /customers/5/0/6/mywebsite/httpd.www/system/library/template/Twig/Environment.php on line 1100
Now that the issue has been resolved, please add: [SOLVED] at the beginning of the subject line on your first post.goodluck2019 wrote: ↑Thu Jun 01, 2023 2:26 amThanks a lot! I will try to upgrade it.straightlight wrote: ↑Sun May 28, 2023 10:40 pmOld OC version. Better to upgrade to the latest OC v3.x releases. Take note that the composer is also not up-to-date with PHP 8.2 while using OC v3.0.3.8 from opencart.com .goodluck2019 wrote: ↑Sun May 28, 2023 9:58 pm
I spend my whole day on it Now I have cleaned this big file...
This is error I got when I want to upload a photo:
2023-05-28 12:51:35 - PHP Unknown: The Twig_Autoloader class is deprecated since version 1.21 and will be removed in 2.0. Use Composer instead. in /customers/5/0/6/mywebsite/httpd.www/vqmod/vqcache/vq2-system_library_template_Twig_Autoloader.php on line 12
2023-05-28 12:51:35 - PHP Unknown: Using Twig_Autoloader is deprecated since version 1.21. Use Composer instead. in /customers/5/0/6/mywebsite/httpd.www/vqmod/vqcache/vq2-system_library_template_Twig_Autoloader.php on line 30
2023-05-28 12:51:35 - PHP Unknown: Passing a name as a first argument to the Twig_Environment::addFunction method is deprecated since version 1.21. Pass an instance of "Twig_SimpleFunction" instead when defining function "html_variables". in /customers/5/0/6/mywebsite/httpd.www/system/library/template/Twig/Environment.php on line 1100
2023-05-28 12:51:35 - PHP Unknown: Passing a name as a first argument to the Twig_Environment::addFunction method is deprecated since version 1.21. Pass an instance of "Twig_SimpleFunction" instead when defining function "comercia_url_image". in /customers/5/0/6/mywebsite/httpd.www/system/library/template/Twig/Environment.php on line 1100
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester