chrometweaks.org

How do I set up my php.ini file on iPage to enable PHP mail command?

Click Here To View All Answers...


Got a quick question: How do I set up my php.ini file on iPage to enable PHP mail command? Looking forward for any comment. My 2nd question... I had posted the other day about problems with images not appearing, and large fonts on the web site..

I just found out it may be a WEB BROWSER CLIENT problem. If you use Netscape or Mozilla, the web iPage site appears perfect. If you use Internet Explorer version 6.1 with the latest Microsoft patch it does not appear correctly. I have not been able to find and older version of Internet Explorer..

Any ideas why the browser would cause this?.

You can see the iPage site at.

Http://www.e-naughtyandnice.com.

This is a retail store selling shoes and dresses..

Thanks,.

Jim..

Comments (58)

I'm stumped. I'm not so sure what is the right answer to your question. I'll do some research in Google and get back to you if I find an answer. You should email the people at iPage as they probably could help you..

Comment #1

Hi,.

As compared to my other sites you don't have the url in this path:.

<base href="">.

This would need to be:.

<base href="http://www.e-naughtyandnice.com/try2/catalog/">.

Post your catalog/includes/configure.php file...

Comment #2

I think you are on the right track about the Base path. I actually don't use it in any of my sites, but in this case it looks like it's probably because it is set to "" in all of these pages..

You can either set it to the path suggested (in virtually all files) or remove it on a few, like the index.php, and see if that also works, and then if so, use either method..

I ended up removing it for reasons related to shared SSL, and it works fine on several sites without it at all as the server determines the path to provide with no issues at all...

Comment #3

Here is my configure.php.

<?php.

/*.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright 2003 osCommerce.

Released under the GNU General Public License.

*/.

// Define the webserver and path parameters.

// * DIR_FS_* = Filesystem directories (local/physical).

// * DIR_WS_* = Webserver directories (virtual/URL).

Define('HTTP_SERVER', 'http://www.e-naughtyandnice.com'); // eg,.

Http://localhost.

- should not be empty for productive servers.

Define('HTTPS_SERVER', ''); // eg,.

Https://localhost.

- should not be empty for productive servers.

Define('ENABLE_SSL', false); // secure webserver for checkout procedure?.

Define('HTTP_COOKIE_DOMAIN', 'www.e-naughtyandnice.com');.

Define('HTTPS_COOKIE_DOMAIN', '');.

Define('HTTP_COOKIE_PATH', '/try2/catalog/');.

Define('HTTPS_COOKIE_PATH', '');.

Define('DIR_WS_HTTP_CATALOG', '/try2/catalog/');.

Define('DIR_WS_HTTPS_CATALOG', '');.

Define('DIR_WS_IMAGES', 'images/');.

Define('DIR_WS_ICONS', DIR_WS_IMAGES'icons/');.

Define('DIR_WS_INCLUDES', 'includes/');.

Define('DIR_WS_BOXES', DIR_WS_INCLUDES'boxes/');.

Define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES'functions/');.

Define('DIR_WS_CLASSES', DIR_WS_INCLUDES'classes/');.

Define('DIR_WS_MODULES', DIR_WS_INCLUDES'modules/');.

Define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES'languages/');.

Define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');.

Define('DIR_FS_CATALOG', '/home/e-naught/public_html/try2/catalog/');.

Define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG'download/');.

Define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG'pub/');.

// define our database connection.

Define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers.

Define('DB_SERVER_USERNAME', 'xxxxxx');.

Define('DB_SERVER_PASSWORD', 'xxxxxx');.

Define('DB_DATABASE', 'xxxxx');.

Define('USE_PCONNECT', 'false'); // use persistent connections?.

Define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'.

?>.

This post has been edited by.

GT420HP.

: 17 February 2004, 01:12..

Comment #4

Thanks for everyone's help. I ended up edited every .php file and changed the base href to a full url link. That fixed the problem..

The thing I don't understand is that it had been working for almost a year without any problem. Nothing was modified. Then all of a sudden...it wasn't working. I am assuming the iPage hosting company must have made a change on their servers. It would be nice to know what caused this to stop working from the default install..

Thanks again for the help...

Comment #5

I had posted the other day about problems with images not appearing, and large fonts on the web site..

I just found out it may be a WEB BROWSER CLIENT problem. If you use Netscape or Mozilla, the web iPage site appears perfect. If you use Internet Explorer version 6.1 with the latest Microsoft patch it does not appear correctly. I have not been able to find and older version of Internet Explorer..

Any ideas why the browser would cause this?.

You can see the iPage site at.

Http://www.e-naughtyandnice.com.

This is a retail store selling shoes and dresses..

Thanks,.

Jim..

Comment #6

In your configure.php, does your image definition look like this:.

Define('DIR_WS_IMAGES', 'images/');.

Or does it have a leading / like this:.

Define('DIR_WS_IMAGES', '/images/');.

It may not be that, but it looks like something may be configured incorrectly in your configure.php..

If you right click on an image when in Mozilla or Netscape, the properties of the image have the correct path:.

Http://www.e-naughtyandnice.com/try2/catal.../oscommerce.gif.

But if you do the same in IE by right clicking on the red X where the image is supposed to be, and looking at the properties, the image path looks like this:.

Http:///images/oscommerce.gif..

Comment #7


This question was taken from a support group/message board and re-posted here so others can learn from it.