Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

my contact us page has some errors Please HELP


eunalice

Recommended Posts

When customers go to my "contact us" page, I get full name and email but message part is blank. I tried to test it and it always comes to me as a blank message. I think it used to work before but now it doesn't. does anyone have any idea? I'm so frustrated. Please help. This is the site. http://www.hbabyboutique.com/contact_us.php

 

I would really appreciate it..

 

Alice

Link to comment
Share on other sites

Try getting a clean copy of the contact us file, renaming it to contact_test, or anything unique, upload it to your shop and try using it - http://yoursite.com/contact_text.php. It will not look right on your site and the submit will cause a redirect to the real contact us page but those can be ignored for testing. If the email is received correctly, then something is wrong in your contact_us.php file. If not, the problem is eslewhere.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi Jack. thank you so much for your help. I tried what you told me and I received the email okay with blank messages again so I guess the problem is not contact_us.php file. where else can I look for errors? Thank you again.

Link to comment
Share on other sites

This used to work, and you haven't changed anything or modified code in any way, and now it doesn't work? Does the email you receive include the customer name and email address anywhere, or absolutely nothing? You might ask your host if your PHP version was recently upgraded. Newer versions of PHP no longer support "long array names" like $HTTP_POST_VARS by default. That's how information (customer name, customer email, and text of query) is passed from the Contact Us form. If $HTTP_POST_VARS no longer exists, that would mean nothing to send. Recent versions of osC (2.2 RC1 or RC2 and later) take care of the missing long arrays -- what version are you at? You might be able to enable "long array names" in your PHP configuration (php.ini file) -- ask your host about it.

 

Of course, if this is the problem, I would be expecting things to break elsewhere in osC (don't know what, off the top of my head, but it's got to be more than just this page). Maybe you just haven't noticed it?

Link to comment
Share on other sites

Hi Jack. thank you so much for your help. I tried what you told me and I received the email okay with blank messages again so I guess the problem is not contact_us.php file. where else can I look for errors? Thank you again.

Is this the only part of the shop that is broken? If you use admin->tools->Send Email, do you receive the full message? If you do, then it has to be something in the code on the shop side. If you don't, then there could be a coding problem or a server problem. To test that, download the email test contribution (you only have to upload a file to install it) and see how that works.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Is this the only part of the shop that is broken? If you use admin->tools->Send Email, do you receive the full message? If you do, then it has to be something in the code on the shop side. If you don't, then there could be a coding problem or a server problem. To test that, download the email test contribution (you only have to upload a file to install it) and see how that works.

Yes, when I use admin ->tools->send email I receive the full message. so it must be the shop side? I don't know what else to do. Thank you so much Jack

Link to comment
Share on other sites

This used to work, and you haven't changed anything or modified code in any way, and now it doesn't work? Does the email you receive include the customer name and email address anywhere, or absolutely nothing? You might ask your host if your PHP version was recently upgraded. Newer versions of PHP no longer support "long array names" like $HTTP_POST_VARS by default. That's how information (customer name, customer email, and text of query) is passed from the Contact Us form. If $HTTP_POST_VARS no longer exists, that would mean nothing to send. Recent versions of osC (2.2 RC1 or RC2 and later) take care of the missing long arrays -- what version are you at? You might be able to enable "long array names" in your PHP configuration (php.ini file) -- ask your host about it.

 

Of course, if this is the problem, I would be expecting things to break elsewhere in osC (don't know what, off the top of my head, but it's got to be more than just this page). Maybe you just haven't noticed it?

i don't think the php was upgraded. Thank you for your input though :)

Link to comment
Share on other sites

Yes, when I use admin ->tools->send email I receive the full message. so it must be the shop side? I don't know what else to do. Thank you so much Jack

If it works in admin and doesn't work in the shop, even with a new file, then it has to be something in the files, other than contact_us.php, in the shop. You can try replacing the includes/functions.php and includes/classes/email.php (be sure to make a backup of them first since replacing them may break your shop). But if that doesn't find the problem, I think it would require more in-depth troubleshooting than can be found on these forums.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

If it works in admin and doesn't work in the shop, even with a new file, then it has to be something in the files, other than contact_us.php, in the shop. You can try replacing the includes/functions.php and includes/classes/email.php (be sure to make a backup of them first since replacing them may break your shop). But if that doesn't find the problem, I think it would require more in-depth troubleshooting than can be found on these forums.

Thank you so much I got it fixed now. It was the contact_us file. sorry about that. but Thank you!!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...