chrometweaks.org

What is the best way to promote my free web iPage hosting service?

Click Here To View All Answers...


Got a quick question: What is the best way to promote my free web iPage hosting service? Thanks in advance for any comment. Another question I got... Hi everybody,.

I allready have a discussion in the german forums but this is actually offline and I need quick help..

Please have look here: www.planetdj.de/catalog/.

The picture under "quick search" and the 3 pictures on the rght side (english, german and spanish) are in the internet explorer not available!!! The are THREE (not two..) backslashes in the path.... where can I edit this? configure.php? if so, I allready tried this, but then nothing works......

The funny thing is, that in the browser "mozzila" every picture works !!!.

The configure.php is the following:.

<?php.

/*.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright (c) 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.planetdj.de'); // 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.planetdj.de');.

Define('HTTPS_COOKIE_DOMAIN', '');.

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

Define('HTTPS_COOKIE_PATH', '');.

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

Define('DIR_WS_HTTPS_CATALOG', '');.

Define('DIR_WS_IMAGES', 'http://www.planetdj.de/catalog/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/www/web14/html/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', '####'); // eg, localhost - should not be empty for productive servers.

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

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

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

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

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

?>.

Www.planetdj.de/catalog/.

This post has been edited by.

Hpdl.

: 13 July 2004, 14:32..

Comments (6)

Sure, there are many iPage online promotional codes out there. Spiffy way to save cash on iPage now. I advise you to register for their email list so you can be notified of their recent voucher coupons. They typically email once a week or so..

Comment #1

Now it looks like this:.

Http://www.planetdj.de/catalog/.

Could you or anybody else show me, how a configure.php should look like? I think that there are tons of mistakes because I just startet with php last Saturday... never before..

Or couldt exist any other mistake in another php-file? maybe in index.php, column_left.php ......?.

I get crazy..

Comment #2

You've got the <base href=""> problem. Look at the html source for the page..

The solution is in this thread, in Johnson's post..

Http://forums.oscommerce.com/index.php?showtopic=96589&st;=0&.

He's referring to line 41 in application_top.php.

// set the type of request (secure or not).

$request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';.

It changes to:.

$request_type = (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) == 'on')) ? 'SSL' : 'NONSSL';..

Comment #3

Your first line which you told me.

Define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG'images/');.

Didnt work. ALL pictures where not available.... I just refrehed the old line..

But your second line for application_top.php.

$request_type = (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) == 'on')) ? 'SSL' : 'NONSSL';.

Fixed the problem with the internet explorer problem of the german/england/spain/quicksearch images... ALL images are available now.

!!!!.

THANK YOU !!!!.

Now I have just two further questions:.

1)The navigation below of the banner .... in Mozilla the background is BLUE and this way shown exactly. In the internet explorer it is white! Ive allready studied the stylesheet.css but the problem in internet explorer goes not away.

2) when you go in my shop to a product and want to get the information you receive the following:.

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/www/web14/html/catalog/product_info.php on line 121.

Any ideas?..

Comment #4

You have to go back and put this in again..

Define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG'images/');.

It will work now and it is standard. It did not work before because of the other problem. I didn't check for the other problem till I knew you had the images folder correct..

You understand what the base href is right? It's the base path which the other directory paths are appended to. That's why /images didn't work, there was no base for the s/w to build.

Http://www.planetdj.de/catalog.

+ /images.

I'll have a look at the other problems in a minute or so..

This post has been edited by.

AlanR.

: 13 July 2004, 19:53..

Comment #5

Your other problems are caused because you're using the built in editor to edit files. You can not use it, it's buggy and it strips important characters out of the code..

Look at this page.

Http://www.planetdj....dex.php?cPath=3.

See all the n characters? That's because the editor is stripping escape characters from the code..

See this thread:.

Http://forums.oscommerce.com/index.php?showtopic=82192&st;=0&.

You'll need to go back and check or replace any pages you've edited with the on-line editor. Use a local editor on your local PC and upload the changed files. Or you can get an editor which can edit on-line...

Comment #6

As for the css differences between mozilla and IE?.

Browsers treat css differently. I design for IE because that's what most people use and I let the chips fall where they may for the other browsers. I recommend keeping css fairly simple because I've seen many sites where people went crazy with css and their sites become pretty much unusable in some browsers they never tested..

The idea of an e-commerce iPage site is to sell stuff, not dazzle the world with neat tricks...

Comment #7


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