Post by RatnikZnae » Fri Jun 30, 2023 12:05 am

Hello,

I have problem with my Opencart 3.0.3.8 shop. When i refresh OCMOD cache this error shows:

Code: Select all

Warning: fclose() expects parameter 1 to be resource, null given in 
/home/************/public_html/admin/controller/marketplace/modification.php on line 417

Warning: fclose() expects parameter 1 to be resource, null given in /home/************/public_html/admin/controller/marketplace/modification.php on line 417

Warning: fclose() expects parameter 1 to be resource, null given in /home/************/public_html/admin/controller/marketplace/modification.php on line 417

Warning: Cannot modify header information - headers already sent by (output started at /home/************/public_html/admin/controller/startup/error.php:34) in /home/************/public_html/system/library/response.php on line 36
Please help. I am trying from 1 week to fix it..

https://luxurychess.eu/ | https://awgwatergenerator.com/ | https://wpwebsite.biz/


New member

Posts

Joined
Fri Jul 28, 2017 10:28 pm

Post by ADD Creative » Fri Jun 30, 2023 12:18 am

Could be a permissions issue with your modification directory.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by RatnikZnae » Fri Jun 30, 2023 12:34 am

Hi, thank yo for the answer.

Can you be more specific?

I checked the permissions, but I don't see anything wrong. I might be missing something.

https://luxurychess.eu/ | https://awgwatergenerator.com/ | https://wpwebsite.biz/


New member

Posts

Joined
Fri Jul 28, 2017 10:28 pm

Post by ADD Creative » Fri Jun 30, 2023 12:59 am

Could be that the storage\modification directory does not exist or does not have the correct permissions for files to be written to it. You might also want to check both your PHP and OpenCart error logs.

You should also check your admin/controller/marketplace/modification.php has not been modified. If you look at the original source code there is no fclose() on line 417.
https://github.com/opencart/opencart/bl ... n.php#L417

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by straightlight » Fri Jun 30, 2023 2:44 am

Posted in Bug Reports. Not a bug.

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 RatnikZnae » Fri Jun 30, 2023 8:16 pm

ADD Creative wrote:
Fri Jun 30, 2023 12:59 am
Could be that the storage\modification directory does not exist or does not have the correct permissions for files to be written to it. You might also want to check both your PHP and OpenCart error logs.

You should also check your admin/controller/marketplace/modification.php has not been modified. If you look at the original source code there is no fclose() on line 417.
https://github.com/opencart/opencart/bl ... n.php#L417
Thank you, but unfortunately none of the above is the problem.

https://luxurychess.eu/ | https://awgwatergenerator.com/ | https://wpwebsite.biz/


New member

Posts

Joined
Fri Jul 28, 2017 10:28 pm

Post by SohBH » Fri Jun 30, 2023 9:01 pm

Screenshot of permission of modification directory and files would be helpful.

View all extensions | Request custom work | Pricing | Contact Me


User avatar
Active Member

Posts

Joined
Mon Nov 02, 2020 12:01 am
Location - Malaysia

Post by straightlight » Sat Jul 01, 2023 4:38 am

RatnikZnae wrote:
Fri Jun 30, 2023 8:16 pm
Thank you, but unfortunately none of the above is the problem.
Is your storage folder located outside of your public_html folder as per indicated in this FAQ (first post): viewtopic.php?t=215776#p717782

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: No registered users and 5 guests