Post by phamxuanvinh2110 » Sun Dec 04, 2016 1:01 am

I using new vers OPC. I set multi flat rate base on weight.
My country have 63 provine, I set one provine have fee shipping 25.000 vnd, and other province (62 province) have fee shipping 30 000 vnd.
result: One provine ( 25000 vnd) is ok, well done
and how other province (62 province) set? GEO zone must 63 option => error with 500 internal, and losing zone. anyone help me fix it.

New member

Posts

Joined
Mon Nov 28, 2016 11:41 am

Post by opencartmart » Sun Dec 04, 2016 2:13 am

500 internal error only for 52 provinces. Bit unusual.
It seems max_input_vars issue. Could you please check Apache log and share if there any error?

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by phamxuanvinh2110 » Sun Dec 04, 2016 2:03 pm

opencartmart wrote:500 internal error only for 52 provinces. Bit unusual.
It seems max_input_vars issue. Could you please check Apache log and share if there any error?
thanks for your support
max-input-vars, where is it? php.ini at hosting server? and Can I change it?

New member

Posts

Joined
Mon Nov 28, 2016 11:41 am

Post by opencartmart » Sun Dec 04, 2016 2:41 pm

Have you checked your apache log? If it is cpanel server, you can check apache log from there. If you don't have cpanel and don't know how to check apache log, please contact to your host provider to check log.

Regarding max_input_vars, please check this http://www.ifelse.info/2015/05/how-to-i ... n-php.html

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by phamxuanvinh2110 » Mon Dec 05, 2016 12:45 am

opencartmart wrote:Have you checked your apache log? If it is cpanel server, you can check apache log from there. If you don't have cpanel and don't know how to check apache log, please contact to your host provider to check log.

Regarding max_input_vars, please check this http://www.ifelse.info/2015/05/how-to-i ... n-php.html
max_input_vars 1000, it is fine. but error with 500. how can i fix?

New member

Posts

Joined
Mon Nov 28, 2016 11:41 am

Post by phamxuanvinh2110 » Mon Dec 05, 2016 12:49 am

error with attact img. how can i fix?

Attachments

Untitled1.png

Untitled1.png (161.52 KiB) Viewed 1153 times

Untitled.png

Untitled.png (135.77 KiB) Viewed 1153 times


New member

Posts

Joined
Mon Nov 28, 2016 11:41 am

Post by opencartmart » Mon Dec 05, 2016 12:54 am

Sorry this is not apache log. You can check apache log from cpanel. It is better contact to your host provider. thanks

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by phamxuanvinh2110 » Mon Dec 05, 2016 3:15 pm

opencartmart wrote:Sorry this is not apache log. You can check apache log from cpanel. It is better contact to your host provider. thanks
error with img attacted. is it it?

Attachments

Untitled.png

Untitled.png (7.11 KiB) Viewed 1140 times


New member

Posts

Joined
Mon Nov 28, 2016 11:41 am

Post by opencartmart » Mon Dec 05, 2016 10:59 pm

No, this is not server log. It is php log.

Sever log location depends on your Apache configuration. A typical location is /var/log/apache/access.log
It is also possible to check from cpanel if you have cpanel access. Check attached

So it is better to contact to your hosting provider to get error log

Attachments

cpanel.png

cpanel.png (61.65 KiB) Viewed 1120 times


XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by phamxuanvinh2110 » Tue Dec 06, 2016 3:15 pm

I am contact support from hosting sever.
is it error log ? img attack?

Attachments

Untitled3.png

Untitled3.png (196.2 KiB) Viewed 1110 times


New member

Posts

Joined
Mon Nov 28, 2016 11:41 am

Post by phamxuanvinh2110 » Tue Dec 06, 2016 3:17 pm

error with ")Cannot allocate memory:" is memory? upgrade memory?

New member

Posts

Joined
Mon Nov 28, 2016 11:41 am

Post by opencartmart » Tue Dec 06, 2016 3:28 pm

Suspicious! Have you done any modification? Usually this page does not need much memory. Anyway you can increase memory limit by adding following line in your local php.ini. If there is not php.ini inside admin directory, you can create new one

Code: Select all

memory_limit = 512M ; /* Change the 512M to your needs */

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by phamxuanvinh2110 » Tue Dec 06, 2016 4:02 pm

opencartmart wrote:Suspicious! Have you done any modification? Usually this page does not need much memory. Anyway you can increase memory limit by adding following line in your local php.ini. If there is not php.ini inside admin directory, you can create new one

Code: Select all

memory_limit = 512M ; /* Change the 512M to your needs */
Folder admin have php.ini, setted memory_limit=64M, so I change 512 M, result => the same error.

New member

Posts

Joined
Mon Nov 28, 2016 11:41 am

Post by phamxuanvinh2110 » Tue Dec 06, 2016 4:03 pm

2016-12-02 4:57:58 - MOD: Modification Default

FILE: system/engine/action.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 41

FILE: system/engine/loader.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 49
LINE: 108
LINE: 120
LINE: 165

FILE: system/library/config.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 23

FILE: system/library/language.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 38
LINE: 40
LINE: 49
LINE: 51
LINE: 60
LINE: 62

FILE: system/library/template/php.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 18

FILE: system/library/template/tiwg.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 24
----------------------------------------------------------------
"
That is log Modifications.

New member

Posts

Joined
Mon Nov 28, 2016 11:41 am

Post by phamxuanvinh2110 » Tue Dec 06, 2016 4:15 pm

error .... hix :(

Attachments

Untitled5.png

Untitled5.png (152.02 KiB) Viewed 1099 times


New member

Posts

Joined
Mon Nov 28, 2016 11:41 am

Post by phamxuanvinh2110 » Tue Dec 06, 2016 4:38 pm

phamxuanvinh2110 wrote:
opencartmart wrote:Suspicious! Have you done any modification? Usually this page does not need much memory. Anyway you can increase memory limit by adding following line in your local php.ini. If there is not php.ini inside admin directory, you can create new one

Code: Select all

memory_limit = 512M ; /* Change the 512M to your needs */
Folder admin have php.ini, setted memory_limit=64M, so I change 512 M, result => the same error.
memory limit increase 512M at host server, => the same error
edit php.ini in folder admin => the same error
@@

New member

Posts

Joined
Mon Nov 28, 2016 11:41 am

Post by opencartmart » Tue Dec 06, 2016 4:58 pm

Please be sured that it has increased actually.

Insert following code at admin/index.php any where. It will print php details. Find string "memory_limit", check it shows 512M or not

Code: Select all

phpinfo()

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by phamxuanvinh2110 » Tue Dec 06, 2016 5:16 pm

fix done. I edit php.ini (root index.php), set memori_limit = 128M => no error
Thank you very much. Love :)

New member

Posts

Joined
Mon Nov 28, 2016 11:41 am

Post by phamxuanvinh2110 » Tue Dec 06, 2016 5:56 pm

again error... I don't know...@@...

New member

Posts

Joined
Mon Nov 28, 2016 11:41 am

Post by opencartmart » Tue Dec 06, 2016 11:05 pm

have you increased memory limit correct?

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am
Who is online

Users browsing this forum: No registered users and 209 guests