Forums / General Questions / newsletter and send mail problem - wants to download index.php

newsletter and send mail problem - wants to download index.php

Locked

Started by zas on 5 Apr 2007, 11:27 AM · Views: 4,047

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
5 Apr 2007, 11:27 AM
#1
zas avatar

zas

Zen Follower

Join Date:
Oct 2006
Posts:
138
Plugin Contributions:
0

newsletter and send mail problem - wants to download index.php

I have recently had issues with my host, now seem to be fixed.
I also upgraded to 1.3.7.

Now when I click on the button to either send an email or newsletter in admin, my browseer goes to open or download the php file newsletter.php for example.

what could be causing this?

We live in a rainbow of chaos ~ Paul Cezanne

5 Apr 2007, 11:41 AM
#2
zas avatar

zas

Zen Follower

Join Date:
Oct 2006
Posts:
138
Plugin Contributions:
0

Re: newsletter and send mail problem - wants to download index.php

and because it is the week of issues for me :frusty: when a new customer is created, same thing, browser wants to open the associated php file. The new customer (me testing it) doesn't get an email, but they show up in admin.

Cart works fine all the way up to confirm order, when it wants to open or save the index.php file :frusty: :frusty:

We live in a rainbow of chaos ~ Paul Cezanne

5 Apr 2007, 11:50 AM
#3
zas avatar

zas

Zen Follower

Join Date:
Oct 2006
Posts:
138
Plugin Contributions:
0

Re: newsletter and send mail problem - wants to download index.php

another browser doesn't ask me to do anything with the associated php file, but just doesn't go anywhere
you click confirm order and nothing happens, page says done, but order does confrim, think is customer won't know because it doesn't say that order has been placed etc

We live in a rainbow of chaos ~ Paul Cezanne

5 Apr 2007, 7:09 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: newsletter and send mail problem - wants to download index.php

When the browser wants to download the index.php or other .php file after a period of delay, it's because the script is taking so long to execute that the browser doesn't know what to do with it.

This often is the case when you have poor database performance or experience some other timeout.

It suggests poor server performance on your host.

Have you tested to be sure other email activities are working properly?
This article discusses some email troubleshooting issues:
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Email_Problems

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

6 Apr 2007, 4:34 AM
#5
zas avatar

zas

Zen Follower

Join Date:
Oct 2006
Posts:
138
Plugin Contributions:
0

Re: newsletter and send mail problem - wants to download index.php

could it be related to upgrading with fantastico (which i didn't know I should use at the time)?
what can be done to fix this? hassle my host?

We live in a rainbow of chaos ~ Paul Cezanne

6 Apr 2007, 5:38 AM
#6
zas avatar

zas

Zen Follower

Join Date:
Oct 2006
Posts:
138
Plugin Contributions:
0

Re: newsletter and send mail problem - wants to download index.php

issue seems to be related to only things connected with emails - such as confriming orders and using contact page in shop, and sending emails and newsletters in admin

We live in a rainbow of chaos ~ Paul Cezanne

6 Apr 2007, 9:11 AM
#7
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Re: newsletter and send mail problem - wants to download index.php

It is unlikely that it is a problem with your server setup, as if it were, no php scripts would run.
Possibly file ownership or permissions on some files, or file naming? If the server can't execute the file it might simply download it.

6 Apr 2007, 11:33 AM
#8
zas avatar

zas

Zen Follower

Join Date:
Oct 2006
Posts:
138
Plugin Contributions:
0

Re: newsletter and send mail problem - wants to download index.php

I'm wa thinking maybe my config files at 444 could be it, but I don't know?
I'm going to try to upgrade again and build a new database on a copied version of my store and see if that helps

We live in a rainbow of chaos ~ Paul Cezanne

6 Apr 2007, 1:15 PM
#9
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Re: newsletter and send mail problem - wants to download index.php

Just a thought, if you edit a file with Windows Notepad and similar, it loves to add a '.txt' extension when you save. Windows also actively hides this extension, so quite difficult to spot, and nasty to remove

6 Apr 2007, 11:27 PM
#10
zas avatar

zas

Zen Follower

Join Date:
Oct 2006
Posts:
138
Plugin Contributions:
0

Re: newsletter and send mail problem - wants to download index.php

thanks for the suggestion, but I'm a mac girl
I'm hoping building a new database will magically fix the problem

We live in a rainbow of chaos ~ Paul Cezanne

7 Apr 2007, 2:29 AM
#11
zas avatar

zas

Zen Follower

Join Date:
Oct 2006
Posts:
138
Plugin Contributions:
0

Re: newsletter and send mail problem - wants to download index.php

yay found the answer here
http://www.zen-cart.com/forum/showthread.php?t=61538
seems I need to use php for my email settings

We live in a rainbow of chaos ~ Paul Cezanne

7 Apr 2007, 2:35 AM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: newsletter and send mail problem - wants to download index.php

Thanks for the update! Glad that the new php setting fixed this for you ... :cool:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!