Forums / Discounts/Coupons, Gift Certificates, Newsletters, Ads / Sudden send coupon problem on v1.3.8 (2006) and PHP 5 (2013)

Sudden send coupon problem on v1.3.8 (2006) and PHP 5 (2013)

Started by letslv on 5 Jun 2013, 7:04 PM · Views: 3,277

Results 21 to 30 of 30
10 Jun 2013, 4:33 PM
#21
letslv avatar

letslv

New Zenner

Join Date:
Jun 2013
Location:
São Paulo
Posts:
20
Plugin Contributions:
0

Sudden send coupon problem on v1.3.8 (2006) and PHP 5 (2013)

I tried it, but didn't work, there's any other related file that could be the problem?

10 Jun 2013, 8:24 PM
#22
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Sudden send coupon problem on v1.3.8 (2006) and PHP 5 (2013)

Your 7-years-old version of Zen Cart isn't compatible with today's PHP version.

You have three choices:
a) Upgrade your Zen Cart to a modern version so you can use it with modern PHP. THIS IS THE BEST CHOICE.
b) Downgrade your PHP to an obsolete PHP version to use it with your obsolete version of Zen Cart. NOT RECOMMENDED.
c) Really, any other action simply compounds your problems, and you will have more problems next week when your hosting company changes something else on the server so they can remain contemporary.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

11 Jun 2013, 3:28 PM
#23
letslv avatar

letslv

New Zenner

Join Date:
Jun 2013
Location:
São Paulo
Posts:
20
Plugin Contributions:
0

Re: Sudden send coupon problem on v1.3.8 (2006) and PHP 5 (2013)

Thank for all your support guys, but look, we're working in a new system and I just want a fast solution to correct this issue for now.

11 Jun 2013, 4:42 PM
#24
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Sudden send coupon problem on v1.3.8 (2006) and PHP 5 (2013)

letslv:

But the page doesn't even open, it gives me a "500 internal server error"
http://www.zen-cart.com/content.php?105-why-am-i-getting-500-internal-server-error

letslv:

I use the ZC 1.3.8a, and I'm not able to upgrade it, believe me! And was not me who installed ZC on the company I work.
There's a high probability that your present symptoms are a result of having been hacked due to the old vulnerabilities that exist in your old version.
Do a thorough site inspection and cleanup as described here: http://www.zen-cart.com/wiki/index.php/Recovering_From_Hacks

letslv:

it's PHP 5.3.2

letslv:

It was working well until 3 days ago...
The most important question is: what was changed 3 days ago?

letslv:

The only problem is on that page gv_mail.php which doesn't load.
You will have to find out what PHP errors are happening on your server. If you were using a newer version of Zen Cart, they would be logged automatically. You will need to ask your hosting company for the PHP error log for your site. And/or add the logging tool described in the fine print of this article: http://www.zen-cart.com/content.php?124-blank-page

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Jun 2013, 4:55 PM
#25
letslv avatar

letslv

New Zenner

Join Date:
Jun 2013
Location:
São Paulo
Posts:
20
Plugin Contributions:
0

Re: Sudden send coupon problem on v1.3.8 (2006) and PHP 5 (2013)

Those last days I was trying to configure the money order at payment module, because I'm having a problem with it too (if you don't mind in help me, I'm having an encoding problem to put some things in portuguese on the defines!!!).
Now this payment option is disabled, but I was working on it.
It can influence?

12 Jun 2013, 9:05 PM
#26
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Sudden send coupon problem on v1.3.8 (2006) and PHP 5 (2013)

Your problem is probably a result of the changes you made on the same day when the problem started.
Thus the solution is to revert your changes until you can correctly implement them without errors.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Jun 2013, 7:49 PM
#27
letslv avatar

letslv

New Zenner

Join Date:
Jun 2013
Location:
São Paulo
Posts:
20
Plugin Contributions:
0

Re: Sudden send coupon problem on v1.3.8 (2006) and PHP 5 (2013)

I found the problem on that line: $customers = get_audiences_list('email');
What can I do to correct this issue?

17 Jun 2013, 10:55 PM
#28
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Sudden send coupon problem on v1.3.8 (2006) and PHP 5 (2013)

letslv:

I found the problem on that line: $customers = get_audiences_list('email');
What can I do to correct this issue?

Try this (which will stop it from showing how many recipients are included in mailing groups):```
$customers = get_audiences_list('email'[B], FALSE[/B]);


If that doesn't help, try this instead (which will stop it from putting those groups into the pulldown):```
$customers = get_audiences_list('[B]none[/B]'); 

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Jun 2013, 2:13 PM
#29
letslv avatar

letslv

New Zenner

Join Date:
Jun 2013
Location:
São Paulo
Posts:
20
Plugin Contributions:
0

Re: Sudden send coupon problem on v1.3.8 (2006) and PHP 5 (2013)

I commented this line, it has any problem? If it was better to put your code, I can change it! Thank you so much for the help!!!!