Jump to content

Archived

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

hauruapai

How Do I ...? All the basic install questions regularly asked...

Recommended Posts

Parse error still there:

 

Parse error: syntax error, unexpected '<' in /home/homeland/public_html/includes/languages/english/index.php on line 14

 

Can you post a few lines of english/index.php? Post, say from line 10 - 20.

Share this post


Link to post
Share on other sites

when i do this:

 

2. … Change the What’s New Here on the front page?

Go to catalog/includes/languages/English/index.php

Find the following line and change it to what you want it to say

  define('HEADING_TITLE', 'What\'s New Here?');

 

i can change the text or in this case remove the text but i still have that silly image of whats new here. can i get rid of this whole line (text and image) and just have nothing there?

 

has to be simple but am trying things out now for the last 4 hours and cant seem to find it in the forum either.

 

thanks

Share this post


Link to post
Share on other sites
Can you post a few lines of english/index.php? Post, say from line 10 - 20.

 

Sure. Here it is:

 

  Released under the GNU General Public License
*/

define('TEXT_MAIN', '<span style=\"font-size: 40px; color: #f00; text-decoration: underline;\">FREE WORLD-WIDE SHIPPING ON ALL ORDERS</span>');
<br><br>
Homeland Irish Art is your online source for fine <a href=”http://www.homelandart.ie”>Irish art</a> and we ship world-wide free of charge. Each <a href=”http://www.homelandart.ie”>painting of Ireland</a> is created by hand by an experienced, commissioned <a href=”http://www.homelandart.ie”>Irish Artist</a>. Feel free to browse our online catalog of Irish art. Our Irish art gallery includes some of our most popular pieces but Homeland Irish Art also offers custom-made Irish artworks. If you would like a painting of a particular place you’ve visited in Ireland or would like our help choosing a lovely scene from your family’s ancestral birthplace, we are happy to help. We can also create original oil on canvas works from your own photographs. Please don’t hesitate to contact us with any questions you may have.
<br><br>
Homeland Irish Art offers a full, 100 percent money back guarantee if you are not completely satisfied with your painting. We deliver quality paintings to our customers. <a style="color:green;text-decoration: underline;" href="testimonials.php">Click here</a> to see what our clients have to say about their quality pieces of art from us.
<br><br>
For our customers in North America please note that sales tax does not apply because the paintings are sold from Ireland. In other words, the price you see is the total price you pay, including shipping.
<br><br>

Share this post


Link to post
Share on other sites
Sure. Here it is:

 

define('TEXT_MAIN', '<span style=\"font-size: 40px; color: #f00; text-decoration: underline;\">FREE WORLD-WIDE SHIPPING ON ALL ORDERS</span>
<br><br>
Homeland Irish Art is your online source for fine <a href=”http://www.homelandart.ie”>Irish art</a> and we ship world-wide free of charge. Each <a href=”http://www.homelandart.ie”>painting of Ireland</a> is created by hand by an experienced, commissioned <a href=”http://www.homelandart.ie”>Irish Artist</a>. Feel free to browse our online catalog of Irish art. Our Irish art gallery includes some of our most popular pieces but Homeland Irish Art also offers custom-made Irish artworks. If you would like a painting of a particular place you’ve visited in Ireland or would like our help choosing a lovely scene from your family’s ancestral birthplace, we are happy to help. We can also create original oil on canvas works from your own photographs. Please don’t hesitate to contact us with any questions you may have.
<br><br>
Homeland Irish Art offers a full, 100 percent money back guarantee if you are not completely satisfied with your painting. We deliver quality paintings to our customers. <a style="color:green;text-decoration: underline;" href="testimonials.php">Click here</a> to see what our clients have to say about their quality pieces of art from us.
<br><br>
For our customers in North America please note that sales tax does not apply because the paintings are sold from Ireland. In other words, the price you see is the total price you pay, including shipping.
<br><br>');

Share this post


Link to post
Share on other sites

I made that change but I still get this error message:

 

Parse error: syntax error, unexpected '*' in /home/homeland/public_html/includes/languages/english/index.php on line 21

 

This is line 21:

**Warning**: <a style="color:green;text-decoration: underline;" href="http://www.homelandart.ie/new.php">Our exclusive paintings are only available through HomelandArt.ie</a>

 

This is the code with the edit (with a few more lines that might give you a better view):

Released under the GNU General Public License

*/

define('TEXT_MAIN', '<span style=\"font-size: 40px; color: #f00; text-decoration: underline;\">FREE WORLD-WIDE SHIPPING ON ALL ORDERS</span>
<br><br>
Homeland Irish Art is your online source for fine <a href=”http://www.homelandart.ie”>Irish art</a> and we ship world-wide free of charge. Each <a href=”http://www.homelandart.ie”>painting of Ireland</a> is created by hand by an experienced, commissioned <a href=”http://www.homelandart.ie”>Irish Artist</a>. Feel free to browse our online catalog of Irish art. Our Irish art gallery includes some of our most popular pieces but Homeland Irish Art also offers custom-made Irish artworks. If you would like a painting of a particular place you’ve visited in Ireland or would like our help choosing a lovely scene from your family’s ancestral birthplace, we are happy to help. We can also create original oil on canvas works from your own photographs. Please don’t hesitate to contact us with any questions you may have.
<br><br>
Homeland Irish Art offers a full, 100 percent money back guarantee if you are not completely satisfied with your painting. We deliver quality paintings to our customers. <a style="color:green;text-decoration: underline;" href="testimonials.php">Click here</a> to see what our clients have to say about their quality pieces of art from us.
<br><br>
For our customers in North America please note that sales tax does not apply because the paintings are sold from Ireland. In other words, the price you see is the total price you pay, including shipping.
<br><br>');
**Warning**: <a style="color:green;text-decoration: underline;" href="http://www.homelandart.ie/new.php">Our exclusive paintings are only available through HomelandArt.ie</a>
<br><br><br>
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tr><td bgcolor="#000000" class="headerNavigation">
  Featured Paintings of Ireland</td></tr></table>
');
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

Thanks a lot for your help :-)

Share this post


Link to post
Share on other sites
I made that change but I still get this error message:

 

Parse error: syntax error, unexpected '*' in /home/homeland/public_html/includes/languages/english/index.php on line 21

 

This is line 21:

**Warning**: <a style="color:green;text-decoration: underline;" href="http://www.homelandart.ie/new.php">Our exclusive paintings are only available through HomelandArt.ie</a>

 

This is the code with the edit (with a few more lines that might give you a better view):

Released under the GNU General Public License

*/

define('TEXT_MAIN', '<span style=\"font-size: 40px; color: #f00; text-decoration: underline;\">FREE WORLD-WIDE SHIPPING ON ALL ORDERS</span>
<br><br>
Homeland Irish Art is your online source for fine <a href=”http://www.homelandart.ie”>Irish art</a> and we ship world-wide free of charge. Each <a href=”http://www.homelandart.ie”>painting of Ireland</a> is created by hand by an experienced, commissioned <a href=”http://www.homelandart.ie”>Irish Artist</a>. Feel free to browse our online catalog of Irish art. Our Irish art gallery includes some of our most popular pieces but Homeland Irish Art also offers custom-made Irish artworks. If you would like a painting of a particular place you’ve visited in Ireland or would like our help choosing a lovely scene from your family’s ancestral birthplace, we are happy to help. We can also create original oil on canvas works from your own photographs. Please don’t hesitate to contact us with any questions you may have.
<br><br>
Homeland Irish Art offers a full, 100 percent money back guarantee if you are not completely satisfied with your painting. We deliver quality paintings to our customers. <a style="color:green;text-decoration: underline;" href="testimonials.php">Click here</a> to see what our clients have to say about their quality pieces of art from us.
<br><br>
For our customers in North America please note that sales tax does not apply because the paintings are sold from Ireland. In other words, the price you see is the total price you pay, including shipping.
<br><br>');
**Warning**: <a style="color:green;text-decoration: underline;" href="http://www.homelandart.ie/new.php">Our exclusive paintings are only available through HomelandArt.ie</a>
<br><br><br>
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tr><td bgcolor="#000000" class="headerNavigation">
  Featured Paintings of Ireland</td></tr></table>
');
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

Thanks a lot for your help :-)

 

You must escape ALL instances of " or ' in your text. Sorry, I missed that before. As an example:

 

Homeland Irish Art is your online source for fine <a href=”http://www.homelandart.ie”>Irish art</a> and we ship

 

Needs to look like this:

 

Homeland Irish Art is your online source for fine <a href=\”http://www.homelandart.ie\”>Irish art</a> and we ship

 

Anywhere you have a quote or apostrophe char within the definition -- be it the text copy or HTML/CSS -- you must escape it by placing a back slash in front. If you do NOT escape quote and apostrophe chars, PHP thinks your trying to terminate a string or other PHP command. You're not. Those characters are part of either the text or HTML and by escaping them you're telling PHP to render them as such and not use them as part of the script. Make sense?

Share this post


Link to post
Share on other sites
You must escape ALL instances of " or ' in your text. Sorry, I missed that before. As an example:

 

Homeland Irish Art is your online source for fine <a href=”http://www.homelandart.ie”>Irish art</a> and we ship

 

Needs to look like this:

 

Homeland Irish Art is your online source for fine <a href=\”http://www.homelandart.ie\”>Irish art</a> and we ship

 

Anywhere you have a quote or apostrophe char within the definition -- be it the text copy or HTML/CSS -- you must escape it by placing a back slash in front. If you do NOT escape quote and apostrophe chars, PHP thinks your trying to terminate a string or other PHP command. You're not. Those characters are part of either the text or HTML and by escaping them you're telling PHP to render them as such and not use them as part of the script. Make sense?

 

I went through it and made those changes but still getting error message:

Parse error: syntax error, unexpected T_STRING in /home/homeland/public_html/includes/languages/english/index.php on line 21

 

This is line 21:

Warning <a style=\"color:green;text-decoration: underline;\" href=\"http://www.homelandart.ie/new.php\">Our exclusive paintings are only available through HomelandArt.ie</a>

 

I triple checked that line and I escaped all " and '

Share this post


Link to post
Share on other sites
I went through it and made those changes but still getting error message:

Parse error: syntax error, unexpected T_STRING in /home/homeland/public_html/includes/languages/english/index.php on line 21

 

This is line 21:

Warning <a style=\"color:green;text-decoration: underline;\" href=\"http://www.homelandart.ie/new.php\">Our exclusive paintings are only available through HomelandArt.ie</a>

 

I triple checked that line and I escaped all " and '

 

Please post a few lines of the language file fromaround line 21.

Share this post


Link to post
Share on other sites

Line 21 to line 28 in /public_html/includes/languages/english/index.php

 

Warning <a style=\"color:green;text-decoration: underline;\" href=\"http://www.homelandart.ie/new.php\">Our exclusive paintings are only available through HomelandArt.ie</a>
<br><br><br>
<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\" class=\"headerNavigation\">
  Featured Paintings of Ireland</td></tr></table>
');
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

Share this post


Link to post
Share on other sites
Line 21 to line 28 in /public_html/includes/languages/english/index.php

 

Warning <a style=\"color:green;text-decoration: underline;\" href=\"http://www.homelandart.ie/new.php\">Our exclusive paintings are only available through HomelandArt.ie</a>
<br><br><br>
<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\" class=\"headerNavigation\">
  Featured Paintings of Ireland</td></tr></table>
');
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

This code as such does not belong in the language file:

 

Warning <a style=\"color:green;text-decoration: underline;\" href=\"http://www.homelandart.ie/new.php\">Our exclusive paintings are only available through HomelandArt.ie</a>

<br><br><br>

<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\" class=\"headerNavigation\">

  Featured Paintings of Ireland</td></tr></table>

');

 

What comes before this code? You have a terminating constant -- '); -- just hanging there. (??) Can I see what comes before to make sure the constant is constructed correctly?

Share this post


Link to post
Share on other sites
This code as such does not belong in the language file:

 

Warning <a style=\"color:green;text-decoration: underline;\" href=\"http://www.homelandart.ie/new.php\">Our exclusive paintings are only available through HomelandArt.ie</a>

<br><br><br>

<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\" class=\"headerNavigation\">

  Featured Paintings of Ireland</td></tr></table>

');

 

What comes before this code? You have a terminating constant -- '); -- just hanging there. (??) Can I see what comes before to make sure the constant is constructed correctly?

 

Here it is (line 13 to line 25:

 

define('TEXT_MAIN', '<span style=\"font-size: 40px; color: #f00; text-decoration: underline;\">FREE WORLD-WIDE SHIPPING ON ALL ORDERS</span>
<br><br>
Homeland Irish Art is your online source for fine <a href=\”http://www.homelandart.ie\”>Irish art</a> and we ship world-wide free of charge. Each <a href=\”http://www.homelandart.ie\”>painting of Ireland</a> is created by hand by an experienced, commissioned <a href=”http://www.homelandart.ie\”>Irish Artist</a>. Feel free to browse our online catalog of Irish art. Our Irish art gallery includes some of our most popular pieces but Homeland Irish Art also offers custom-made Irish artworks. If you would like a painting of a particular place you’ve visited in Ireland or would like our help choosing a lovely scene from your family’s ancestral birthplace, we are happy to help. We can also create original oil on canvas works from your own photographs. Please don’t hesitate to contact us with any questions you may have.
<br><br>
Homeland Irish Art offers a full, 100 percent money back guarantee if you are not completely satisfied with your painting. We deliver quality paintings to our customers. <a style=\"color:green;text-decoration: underline;\" href=\"testimonials.php\">Click here</a> to see what our clients have to say about their quality pieces of art from us.
<br><br>
For our customers in North America please note that sales tax does not apply because the paintings are sold from Ireland. In other words, the price you see is the total price you pay, including shipping.
<br><br>');
Warning <a style=\"color:green;text-decoration: underline;\" href=\"http://www.homelandart.ie/new.php\">Our exclusive paintings are only available through HomelandArt.ie</a>
<br><br><br>
<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\" class=\"headerNavigation\">
  Featured Paintings of Ireland</td></tr></table>
');

Share this post


Link to post
Share on other sites
Here it is (line 13 to line 25:

 

define('TEXT_MAIN', '<span style=\"font-size: 40px; color: #f00; text-decoration: underline;\">FREE WORLD-WIDE SHIPPING ON ALL ORDERS</span>
<br><br>
Homeland Irish Art is your online source for fine <a href=\”http://www.homelandart.ie\”>Irish art</a> and we ship world-wide free of charge. Each <a href=\”http://www.homelandart.ie\”>painting of Ireland</a> is created by hand by an experienced, commissioned <a href=”http://www.homelandart.ie\”>Irish Artist</a>. Feel free to browse our online catalog of Irish art. Our Irish art gallery includes some of our most popular pieces but Homeland Irish Art also offers custom-made Irish artworks. If you would like a painting of a particular place you’ve visited in Ireland or would like our help choosing a lovely scene from your family’s ancestral birthplace, we are happy to help. We can also create original oil on canvas works from your own photographs. Please don’t hesitate to contact us with any questions you may have.
<br><br>
Homeland Irish Art offers a full, 100 percent money back guarantee if you are not completely satisfied with your painting. We deliver quality paintings to our customers. <a style=\"color:green;text-decoration: underline;\" href=\"testimonials.php\">Click here</a> to see what our clients have to say about their quality pieces of art from us.
<br><br>
For our customers in North America please note that sales tax does not apply because the paintings are sold from Ireland. In other words, the price you see is the total price you pay, including shipping.
<br><br>');
Warning <a style=\"color:green;text-decoration: underline;\" href=\"http://www.homelandart.ie/new.php\">Our exclusive paintings are only available through HomelandArt.ie</a>
<br><br><br>
<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\" class=\"headerNavigation\">
  Featured Paintings of Ireland</td></tr></table>
');

 

You still have 1 quote and 3 apostrophe chars to be escaped in TEXT_MAIN. The devil is in the detail with this type of work. ;)

 

ETA: One after thought, the apostrophes are crucial to escape, but you may not need to escape quote chars. As an example, this might be ok if you're still having problems:

 

define('TEXT_MAIN', '... commissioned <a href=”http://www.homelandart.ie”>Irish Artist</a>. ... particular place you\’ve...');

Share this post


Link to post
Share on other sites

This is an alternate method for a "define" where the apostrphe's don't need escaped (\').

 

define('TEXT_MAIN', <<<END
<span style="font-size: 40px; color: #f00; text-decoration: underline;">FREE WORLD-WIDE SHIPPING ON ALL ORDERS</span>
<br><br>
Homeland Irish Art is your online source for fine <a href="http://www.homelandart.ie">Irish art</a> and we ship world-wide free of charge. Each <a href="http://www.homelandart.ie">painting of Ireland</a> is created by hand by an experienced, commissioned <a href=”http://www.homelandart.ie">Irish Artist</a>. Feel free to browse our online catalog of Irish art. Our Irish art gallery includes some of our most popular pieces but Homeland Irish Art also offers custom-made Irish artworks. If you would like a painting of a particular place you’ve visited in Ireland or would like our help choosing a lovely scene from your family’s ancestral birthplace, we are happy to help. We can also create original oil on canvas works from your own photographs. Please don’t hesitate to contact us with any questions you may have.
<br><br>
Homeland Irish Art offers a full, 100 percent money back guarantee if you are not completely satisfied with your painting. We deliver quality paintings to our customers. <a style="color:green;text-decoration: underline;" href="testimonials.php">Click here</a> to see what our clients have to say about their quality pieces of art from us.
<br><br>
For our customers in North America please note that sales tax does not apply because the paintings are sold from Ireland. In other words, the price you see is the total price you pay, including shipping.
<br><br>
Warning <a style="color:green;text-decoration: underline;" href="http://www.homelandart.ie/new.php">Our exclusive paintings are only available through HomelandArt.ie</a>
<br><br><br>
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tr><td bgcolor="#000000" class="headerNavigation">
  Featured Paintings of Ireland</td></tr></table>
END
);

P.S. - I tried this on my site and it works for me - no errors.


If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Share this post


Link to post
Share on other sites
This is an alternate method for a "define" where the apostrphe's don't need escaped (\').

 

define('TEXT_MAIN', <<<END
<span style="font-size: 40px; color: #f00; text-decoration: underline;">FREE WORLD-WIDE SHIPPING ON ALL ORDERS</span>
<br><br>
Homeland Irish Art is your online source ...
END
);

P.S. - I tried this on my site and it works for me - no errors.

 

Very interesting. Thanks for the tip. :)

Share this post


Link to post
Share on other sites

define('TEXT_MAIN', '<span style="font-size: 40px; color: #f00; text-decoration: underline;">
FREE WORLD-WIDE SHIPPING ON ALL ORDERS</span>
<br><br>
Homeland Irish Art is your online source for fine <a href=”http://www.homelandart.ie”>Irish art</a>
and we ship world-wide free of charge. Each <a href=”http://www.homelandart.ie”>painting of Ireland</a>
is created by hand by an experienced, commissioned <a href=”http://www.homelandart.ie”>Irish Artist</a>.
Feel free to browse our online catalog of Irish art. Our Irish art gallery includes some of our most popular
pieces but Homeland Irish Art also offers custom-made Irish artworks. If you would like a painting of a
particular place you’ve visited in Ireland or would like our help choosing a lovely scene from your family’s
ancestral birthplace, we are happy to help. We can also create original oil on canvas works from your own
photographs. Please don’t hesitate to contact us with any questions you may have.
<br><br>
Homeland Irish Art offers a full, 100 percent money back guarantee if you are not completely satisfied with your
painting. We deliver quality paintings to our customers.
<a style="color:green;text-decoration: underline;" href="testimonials.php">Click here</a>
to see what our clients have to say about their quality pieces of art from us.
<br><br>
For our customers in North America please note that sales tax does not apply because the paintings are sold from
Ireland. In other words, the price you see is the total price you pay, including shipping.
<br><br>
**Warning**: <a style="color:green;text-decoration: underline;" href="http://www.homelandart.ie/new.php">Our exclusive paintings are only available through HomelandArt.ie</a>
<br><br><br>
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tr><td bgcolor="#000000" class="headerNavigation">
  Featured Paintings of Ireland</td></tr></table>
');

You are using a European keyboard layout. Below the @ sign is the apostrophe or single quote and right to it is "acute accent" character.

 

The "acute accent" is NOT an apostrophe but it looks like an apostrophe or single quote. Since it's not a single quote, PHP has no problem parsing it. There is no need to escape it as long as you are using "acute accent" character consistently.

 

The reason we are seeing a solid bar after href= because you use 2 acute accent characters instead of double quote which is on the #2 key.

 

' <-- Apostrophe/Single quote -- Usage -> lovely scene from your family\'s

<--Acute accent --does not require backslash can be used as is

 

If it works, it works.

Share this post


Link to post
Share on other sites

Anyone see a problem with this?

 

I had a situation where my client wanted ONE input field in the payment checkout screen formatted with a red border. Input fields are generated dynamically and do not contain enough attributes to target for formatting. Ultimately I settled on a global change. In /includes/functions/html_output.php I modified the constructor for input fields to use an ID attribute populated with the same value as the NAME attribute. In html_output.php, I modified line 163 from this:

 

$field = '<input type="' . tep_output_string($type) . '" name="' . tep_output_string($name) . '"';

 

to this:

 

$field = '<input type="' . tep_output_string($type) . '" id="' . tep_output_string($name) . '" name="' . tep_output_string($name) . '"';

 

The result in the output is that all <input> HTML tags now have both an ID and NAME attribute with the same value:

 

<input type="text" id="firstname" name="firstname">

 

This now allows for applying custom targeted formatting for input fields from the global CSS file (i.e. stylesheet.css).

 

Any of you long-time osCommerce users see an issue with adding the ID attribute globally in this way? Note: this does NOT affect hidden fields or check boxes and radio buttons.

Share this post


Link to post
Share on other sites

I cannot change several thinks in ADMIN. osCOMMERCE 2.2 RC2a is installed in the root and i used the tip below. But still i cannot change for example land and zone in MY Store, and anything in the shipping module.

 

31 ... Get the links and files to work properly in Admin when installing into a root directory?

 

Make sure the following lines in the admin/includes/configure.php file are set properly as follows

CODE

define('HTTP_CATALOG_SERVER', 'http://www.YOURWEBSITE.com/'); // must have the / at the end

 

define('DIR_WS_CATALOG', '../'); // MUST have the ../ here

 

Here is my admin/includes/configure.php. can anyone see the problem?

 

<?php

define('HTTP_SERVER', 'http://www.oggieskralenwinkel.nl');

define('HTTP_CATALOG_SERVER', 'http://www.oggieskralenwinkel.nl/');

define('HTTPS_CATALOG_SERVER', 'http://www.oggieskralenwinkel.nl');

define('ENABLE_SSL_CATALOG', 'false');

define('DIR_FS_DOCUMENT_ROOT', '/var/www/vhosts/oggieskralenwinkel.nl/httpdocs/');

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', '/var/www/vhosts/oggieskralenwinkel.nl/httpdocs/admin/');

define('DIR_WS_CATALOG', '../');

define('DIR_FS_CATALOG', '/var/www/vhosts/oggieskralenwinkel.nl/httpdocs/');

define('DIR_WS_IMAGES', 'images/');

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

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

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

thx in advance

Share this post


Link to post
Share on other sites

Hi, my site is in bulgarian and everything runs fine exept that in my admin under peyment modules i have few line of warnings:

 

Warning: include(/home/vitolaou/public_html/osc/includes/languages/bulgarian/modules/payment/authorizenet_cc_aim.php) [function.include]: failed to open stream: No such file or directory in /home/vitolaou/public_html/osc/admin/modules.php on line 128

 

Warning: include() [function.include]: Failed opening '/home/vitolaou/public_html/osc/includes/languages/bulgarian/modules/payment/authorizenet_cc_aim.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vitolaou/public_html/osc/admin/modules.php on line 128

 

and same for paypal direct and few more. Is it because I don't have them listed in my bulgarian/modules/payment ? I don't need them anyway the question is how to get rid of all these warnings? Thanks

Share this post


Link to post
Share on other sites

HOW DO I...?

 

Change the font color of the text on this page (the light blue is hard for the people I serve (chronically ill) to see?

http://chronicillnessbooks.com/shipping.php

 

I have changed everything remotely blue in my stylesheet.css of both admin and regular and still can't locate what it may be called. Ideas?

Share this post


Link to post
Share on other sites
HOW DO I...?

 

Change the font color of the text on this page (the light blue is hard for the people I serve (chronically ill) to see?

http://chronicillnessbooks.com/shipping.php

 

I have changed everything remotely blue in my stylesheet.css of both admin and regular and still can't locate what it may be called. Ideas?

 

Try this little gadget, it's helped me numerous times to track down style sheet elements.

 

http://westciv.com/xray/

Share this post


Link to post
Share on other sites

Hi I'm a Newbie,

 

Please forgive me for probably asking a question that is already covered or im doing something wrong.

 

I'm in the process of configuring my store using osCommerce template on the server at my hosting company ixwebhosting.com and i would like to change the "osCommerce" name in the heading in all my pages and also the discription on the web browser tab.

 

I found this forum subject link and #1 question was "Change the OsCommerce in the Title?"

Answer "Log into the admin then go to Configuration > My Store and edit Store Name"

 

However when i do this nothing happens and the "osCommerce" is still in the heading.

 

Thanks in advance,

Kevin

Share this post


Link to post
Share on other sites

Hi guys, thanks for the pages of help here! Much appreciated.......

 

I am stuck on one thing I would like to do.

 

Can I insert an image as my background? A single image or a tiled image?

 

Thanks.

Share this post


Link to post
Share on other sites

Pls, do you know any simple guide how integrate my oscommerce cart to my website such as a smaller part of my website?

using directories and FTP?

Thanks

Maggie

Share this post


Link to post
Share on other sites

×