Post by goodluck2019 » Sun May 28, 2023 2:31 am

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?
Image
Last edited by goodluck2019 on Thu Jun 01, 2023 2:31 pm, edited 1 time in total.

Newbie

Posts

Joined
Thu Mar 29, 2018 6:07 pm

Post by sw!tch » Sun May 28, 2023 3:17 am

Opencart Version?

Could be the PHP memory limit is set to low. Check your server error logs for any errors.

-

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by softmonke » Sun May 28, 2023 8:01 am

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.

Reach out to us at hello@softmonke.com for your OpenCart web development needs.


User avatar
Active Member

Posts

Joined
Tue May 23, 2023 4:42 am


Post by goodluck2019 » Sun May 28, 2023 2:49 pm

sw!tch wrote:
Sun May 28, 2023 3:17 am
Opencart Version?

Could be the PHP memory limit is set to low. Check your server error logs for any errors.

-
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.

Newbie

Posts

Joined
Thu Mar 29, 2018 6:07 pm

Post by goodluck2019 » Sun May 28, 2023 3:02 pm

softmonke wrote:
Sun May 28, 2023 8:01 am
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.
I tried to check these images through the URL, I can perfectly see them. But if I post the product, it doesn't show...
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.

Newbie

Posts

Joined
Thu Mar 29, 2018 6:07 pm

Post by IP_CAM » Sun May 28, 2023 4:53 pm

That means, that your Error Log has a size of 935.24 GigaByte ! :drunk:

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.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by goodluck2019 » Sun May 28, 2023 9:58 pm

IP_CAM wrote:
Sun May 28, 2023 4:53 pm
That means, that your Error Log has a size of 935.24 GigaByte ! :drunk:
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

Newbie

Posts

Joined
Thu Mar 29, 2018 6:07 pm

Post by straightlight » Sun May 28, 2023 10:40 pm

goodluck2019 wrote:
Sun May 28, 2023 9:58 pm
IP_CAM wrote:
Sun May 28, 2023 4:53 pm
That means, that your Error Log has a size of 935.24 GigaByte ! :drunk:
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 .

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by goodluck2019 » Thu Jun 01, 2023 2:26 am

straightlight wrote:
Sun May 28, 2023 10:40 pm
goodluck2019 wrote:
Sun May 28, 2023 9:58 pm
IP_CAM wrote:
Sun May 28, 2023 4:53 pm
That means, that your Error Log has a size of 935.24 GigaByte ! :drunk:
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 .
Thanks a lot! I will try to upgrade it.

Newbie

Posts

Joined
Thu Mar 29, 2018 6:07 pm

Post by straightlight » Thu Jun 01, 2023 6:26 am

goodluck2019 wrote:
Thu Jun 01, 2023 2:26 am
straightlight wrote:
Sun May 28, 2023 10:40 pm
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
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 .
Thanks a lot! I will try to upgrade it.
Now that the issue has been resolved, please add: [SOLVED] at the beginning of the subject line on your first post.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: sidclel and 88 guests