Jump to content
Sign in to follow this  
equilla

[Contribution] Infobox Skin Manager

Recommended Posts

Guest

Hi! I've installed this contrib a few days ago and it seemed to work fine. But I've created some new boxes m they have the same skin as I chose for all the rest and wanted one of them to have a different skin then the others. When I try to make a change, by selecting a new skin and a new slice set for it I get these errors:

 

Warning: fopen(/home/muccelmi/public_html/muccelmic/includes/boxes/galerie.php): failed to open stream: Permission denied in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 48

 

Warning: fwrite(): supplied argument is not a valid stream resource in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 49

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 50

 

Warning: fopen(/home/muccelmi/public_html/muccelmic/includes/boxes/intro.php): failed to open stream: Permission denied in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 48

 

Warning: fwrite(): supplied argument is not a valid stream resource in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 49

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 50

 

Warning: getimagesize(/home/muccelmi/public_html/muccelmic/images/slice_sets//top_background.jpg): failed to open stream: No such file or directory in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 55

 

Warning: getimagesize(/home/muccelmi/public_html/muccelmic/images/slice_sets//top_background.jpg): failed to open stream: No such file or directory in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 64

 

 

So, why are they having the skin I've selected for all the boxes but I can't choose a new skin for any of them? I saw that there were some posts that looked similar, but I didn't understand them so please be kind and help me. Thank you veru very much. This is my infobox_skin_mapping.php :

 

<?php

 

/*

 

$Id: infobox_skin_mapping.php,v 1.0 2003/08/18

 

osCommerce, Open Source E-Commerce Solutions

 

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

 

*/

 

 

 

require('includes/application_top.php');

 

//check that destination directories exist and are writeable

 

 

if (is_dir(DIR_FS_CATALOG . 'includes/boxes/')) {

if (!is_writeable(DIR_FS_CATALOG . 'includes/boxes/')) $messageStack->add('Error - ' . DIR_FS_CATALOG . 'includes/boxes/ is not writeable', 'error');

} else {

$messageStack->add('Error - ' . DIR_FS_CATALOG . 'includes/boxes/ does not exist', 'error');

}

 

 

 

if ($HTTP_GET_VARS['action']) {

switch ($HTTP_GET_VARS['action']) {

case 'save':

$skin_map = ($HTTP_POST_VARS['skin_map']);

 

//first empty all entries from the database as we are now to re-establish them!

 

$query = "truncate table " . TABLE_INFOBOX_SKIN_MAPPING;

tep_db_query ($query);

foreach ($skin_map as $key => $val){

$boxes_string = '<?php' . "\n";

$boxes_string .= '$skin_slice_set = ' . $val . ";\n";

$boxes_string .= 'include (DIR_WS_INCLUDES . \'boxes_content/' . $key . '\');' . "\n";

$boxes_string .= '?>';

$query = "insert into " . TABLE_INFOBOX_SKIN_MAPPING . " (filename, slice_set_id) values ('" . $key . "', '" . $val . "')";

tep_db_query ($query);

$fp = fopen (DIR_FS_CATALOG . 'includes/boxes/' . $key, 'w');

fwrite ($fp, $boxes_string);

fclose($fp);

}

 

 

$header_set = $HTTP_POST_VARS['header_set'];

$header_height = getimagesize(DIR_FS_CATALOG_IMAGES . 'slice_sets/' . $header_set . '/top_background.jpg');

$header_height = $header_height[1];

$query = "update " . TABLE_CONFIGURATION . " set configuration_value = '" . $header_set . "' where configuration_key = 'INFOBOX_HEADERNAV_SLICE_SET'";

tep_db_query ($query);

$query = "update " . TABLE_CONFIGURATION . " set configuration_value = '" . $header_height . "' where configuration_key = 'INFOBOX_HEADERNAV_HEIGHT'";

tep_db_query ($query);

 

 

$footer_set = $HTTP_POST_VARS['footer_set'];

$footer_height = getimagesize(DIR_FS_CATALOG_IMAGES . 'slice_sets/' . $footer_set . '/top_background.jpg');

$footer_height = $footer_height[1];

$query = "update " . TABLE_CONFIGURATION . " set configuration_value = '" . $footer_set . "' where configuration_key = 'INFOBOX_FOOTER_SLICE_SET'";

tep_db_query ($query);

$query = "update " . TABLE_CONFIGURATION . " set configuration_value = '" . $footer_height . "' where configuration_key = 'INFOBOX_FOOTER_HEIGHT'";

tep_db_query ($query);

 

$col_left_set = $HTTP_POST_VARS['col_left_set'];

$query = "update " . TABLE_CONFIGURATION . " set configuration_value = '" . $col_left_set . "' where configuration_key = 'COLUMN_LEFT_SLICE_SET'";

tep_db_query ($query);

 

$col_right_set = $HTTP_POST_VARS['col_right_set'];

$query = "update " . TABLE_CONFIGURATION . " set configuration_value = '" . $col_right_set . "' where configuration_key = 'COLUMN_RIGHT_SLICE_SET'";

tep_db_query ($query);

 

$main_set = $HTTP_POST_VARS['main_set'];

$query = "update " . TABLE_CONFIGURATION . " set configuration_value = '" . $main_set . "' where configuration_key = 'MAIN_CONTENT_SLICE_SET'";

tep_db_query ($query);

 

break;

 

}

}

 

?>

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">

<script language="javascript" src="includes/general.js"></script>

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF" onload="SetFocus();">

<!-- header //-->

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

<!-- header_eof //-->

 

<!-- body //-->

<table border="0" width="100%" cellspacing="2" cellpadding="2">

<tr>

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">

<!-- left_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

<!-- left_navigation_eof //-->

</table></td>

<!-- body_text //-->

<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td class="pageHeading"><?php echo 'Infobox Skin Mapping'; ?></td>

</tr>

<?php

echo '<tr><td align="center">';

echo '<table border="0" cellspacing="0" cellpadding="0">';

echo tep_draw_form('skin_map', FILENAME_INFOBOX_SKIN_MAPPING, 'action=save', 'post');

 

// echo '<tr><td colspan="4" align="center"><b><u>Infobox Skins Currently in the Library</b></u><br><br></td></tr>';

$dirhandle = opendir (DIR_FS_CATALOG . 'includes/boxes_content/');

while ($file = readdir($dirhandle)) {

if (($file != '.') && ($file != '..')) $boxes_avail[] = $file;

}

 

echo '<tr><td></td><td colspan="9" align="center"><b>Skin Slice Set Allocation</b></td></tr>';

echo '<tr><td><b>Box Filename</b></td>';

for ($i=1; $i<=10; $i++){

if (file_exists (DIR_FS_CATALOG_IMAGES . 'slice_sets/' . $i . '/top_background.jpg')){

echo '<td align="center"><table cellspacing="0" cellpadding="0"><tr><td><img src="' . DIR_WS_CATALOG_IMAGES . 'slice_sets/' . $i . '/top_left.jpg"></td>';

echo '<td background="' . DIR_WS_CATALOG_IMAGES . 'slice_sets/' . $i . '/top_background.jpg"></td>';

echo '<td><img src="' . DIR_WS_CATALOG_IMAGES . 'slice_sets/' . $i . '/top_right.jpg"></td></tr>';

echo '<tr><td background="' . DIR_WS_CATALOG_IMAGES . 'slice_sets/' . $i . '/left_background.jpg"></td>';

echo '<td>' . $i . '</td>';

echo '<td background="' . DIR_WS_CATALOG_IMAGES . 'slice_sets/' . $i . '/right_background.jpg"></td></tr>';

echo '<tr><td><img src="' . DIR_WS_CATALOG_IMAGES . 'slice_sets/' . $i . '/bottom_left.jpg"></td>';

echo '<td background="' . DIR_WS_CATALOG_IMAGES . 'slice_sets/' . $i . '/bottom_background.jpg"></td>';

echo '<td><img src="' . DIR_WS_CATALOG_IMAGES . 'slice_sets/' . $i . '/bottom_right.jpg"></td></tr></table>';

echo '</td>';

}

else echo '<td>Empty</td>';

}

echo '<td>No Skin</td></tr>';

 

foreach ($boxes_avail as $B){

echo '<tr><td>' . $b;

for ($i=1; $i<=10; $i++){

//if we just updated, use those settings

if (isset($skin_map[$b])) $selected = $skin_map[$b];

else {

//otherwise look in the database for the current mapping settings in use

$query = "select * from " . TABLE_INFOBOX_SKIN_MAPPING . " where filename ='" . $b . "'";

$result = tep_db_query($query);

if (tep_db_num_rows($result)!=0) {

$row = tep_db_fetch_array($result);

$selected = $row['slice_set_id'];

}

//otherwise default to slice set 1 for everything!

else $selected = 1;

}

echo '<td align="center"><input type="radio" name="skin_map[' . $b . ']" value="' . $i . '"';

if ($i == $selected) echo 'checked';

echo '></td>';

}

 

echo '</td></tr>';

}

 

if (isset($header_set)) $selected = $header_set;

else $selected = INFOBOX_HEADERNAV_SLICE_SET;

echo '<tr><td>Header Navigation</td>';

for ($i=1; $i<=10; $i++) {

echo '<td align="center"><input type="radio" name="header_set" value="' . $i . '"';

if ($i == $selected) echo ' checked ';

echo '></td>';

}

echo '</tr>';

 

if (isset($footer_set)) $selected = $footer_set;

else $selected = INFOBOX_FOOTER_SLICE_SET;

echo '<tr><td>Footer</td>';

for ($i=1; $i<=10; $i++) {

echo '<td align="center"><input type="radio" name="footer_set" value="' . $i . '"';

if ($i == $selected) echo ' checked ';

echo '></td>';

}

echo '</tr>';

 

 

if (isset($col_left_set)) $selected = $col_left_set;

else $selected = COLUMN_LEFT_SLICE_SET;

echo '<tr><td>Left Column</td>';

for ($i=1; $i<=10; $i++) {

echo '<td align="center"><input type="radio" name="col_left_set" value="' . $i . '"';

if ($i == $selected) echo ' checked ';

echo '></td>';

}

echo '<td><input type="radio" name="col_left_set" value="0"';

if ($selected == 0) echo 'checked';

echo '></td>';

echo '</tr>';

 

if (isset($col_right_set)) $selected = $col_right_set;

else $selected = COLUMN_RIGHT_SLICE_SET;

echo '<tr><td>Right Column</td>';

for ($i=1; $i<=10; $i++) {

echo '<td align="center"><input type="radio" name="col_right_set" value="' . $i . '"';

if ($i == $selected) echo ' checked ';

echo '></td>';

}

echo '<td><input type="radio" name="col_right_set" value="0"';

if ($selected == 0) echo 'checked';

echo '></td>';

echo '</tr>';

 

if (isset($main_set)) $selected = $main_set;

else $selected = MAIN_CONTENT_SLICE_SET;

echo '<tr><td>Main Page Content</td>';

for ($i=1; $i<=10; $i++) {

echo '<td align="center"><input type="radio" name="main_set" value="' . $i . '"';

if ($i == $selected) echo ' checked ';

echo '></td>';

}

echo '<td><input type="radio" name="main_set" value="0"';

if ($selected == 0) echo 'checked';

echo '></td>';

echo '</tr>';

 

echo '<tr><td align="center" colspan="10">' . tep_image_submit('button_confirm.gif', IMAGE_CONFIRM);

echo '</form>';

 

 

 

echo '</table>';

 

echo '</td></tr>';

?>

 

</table></td>

 

<!-- body_text_eof //-->

</tr>

</table>

<!-- body_eof //-->

 

<!-- footer //-->

<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>

<!-- footer_eof //-->

<br>

</body>

</html>

<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

Share this post


Link to post
Share on other sites
Guest

I've waited a while (about 6 pages...:) ) and decided t come back, because I really have to do this. So, anyone has a clue on what to do? I'm sorry if the answer is obvious or already somewhere around, but I just don't know....

Edited by roxanacaz

Share this post


Link to post
Share on other sites

hi all , hi equilla ,

1.could someone confirm me that i can have both this contrib and infobox admin on the same shop , since i read some trouble with the association of the 2 ...

 

2.is there as used in the "thema option" contribution a way to have several skin set , and then i could make in advance 12 sets and change them by slecting a set each month ?

 

best regards !


MS2

Share this post


Link to post
Share on other sites

3.maybe not a bug but in admin/includes/boxes/templates.php

 

to make it work with admin dhtml menu i had to change

 

$contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_INFOBOX_SKIN) . '" class="menuBoxContentLink">' . BOX_TEMPLATES_INFOBOX . '</a><br>');

$contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_INFOBOX_SKIN_MAPPING) . '" class="menuBoxContentLink">' . BOX_TEMPLATES_INFOBOX_MAPPING . '</a>' );

 

by

$contents[] = array('text' =>

'<a href="' . tep_href_link(FILENAME_INFOBOX_SKIN) . '" class="menuBoxContentLink">' . BOX_TEMPLATES_INFOBOX . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_INFOBOX_SKIN_MAPPING) . '" class="menuBoxContentLink">' . BOX_TEMPLATES_INFOBOX_MAPPING . '</a>');


MS2

Share this post


Link to post
Share on other sites

Hi !

 

I use BTS and i'm trying to install Infobox skin manager.

It doesn't seem to work very nice : I can't change boxes skin.

 

How can i do it ?

 

Thanks

 

PS : I tested it on a fresh MS2 install, it works fine ! That's a great contrib. I hope i can install it with my BTS !

Share this post


Link to post
Share on other sites
Guest

Everything was going really great got up to placing a skin in my 5th folder and wham! Here's what I've gotten

Warning: imagecolorat(): supplied argument is not a valid Image resource in /home/content/f/o/u/fountainhouse/html/admin/infobox_skin.php on line 120

 

Warning: imagecolorsforindex(): supplied argument is not a valid Image resource in /home/content/f/o/u/fountainhouse/html/admin/infobox_skin.php on line 121

 

Warning: imagecopy(): supplied argument is not a valid Image resource in /home/content/f/o/u/fountainhouse/html/admin/infobox_skin.php on line 134

 

Warning: imagecopy(): supplied argument is not a valid Image resource in /home/content/f/o/u/fountainhouse/html/admin/infobox_skin.php on line 134

 

Warning: imagecopy(): supplied argument is not a valid Image resource in /home/content/f/o/u/fountainhouse/html/admin/infobox_skin.php on line 134

 

Warning: imagecopy(): supplied argument is not a valid Image resource in /home/content/f/o/u/fountainhouse/html/admin/infobox_skin.php on line 134

 

Warning: imagecopy(): supplied argument is not a valid Image resource in /home/content/f/o/u/fountainhouse/html/admin/infobox_skin.php on line 134

 

Warning: imagecopy(): supplied argument is not a valid Image resource in /home/content/f/o/u/fountainhouse/html/admin/infobox_skin.php on line 134

 

Warning: imagecopy(): supplied argument is not a valid Image resource in /home/content/f/o/u/fountainhouse/html/admin/infobox_skin.php on line 134

 

Warning: imagecopy(): supplied argument is not a valid Image resource in /home/content/f/o/u/fountainhouse/html/admin/infobox_skin.php on line 134

 

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/content/f/o/u/fountainhouse/html/admin/infobox_skin.php on line 138

 

Warning: Cannot modify header information - headers already sent by (output started at /home/content/f/o/u/fountainhouse/html/admin/infobox_skin.php:120) in /home/content/f/o/u/fountainhouse/html/admin/includes/functions/general.php on line 18

Does anyone know what gives?

Share this post


Link to post
Share on other sites

Thanks for one of the best contributions ever, Mark! :thumbsup:

 

I'm also having the same problem below:

 

I have installed in my shop Infobox_skin _manager 2.0 and no skin in product_list.

How repair mums? By change in file stylesheet.css? or as otherwise,?

Product listing in my shop

 

How to apply the skin to the product listing? It's the only thing missing in my installation.

Thank you for any clues and keep up the good work. ^_^


Patty

Share this post


Link to post
Share on other sites

I have STS V4 installed and I want to install info box manager

 

What do I do with my current files in the include folder?

 

/includes/column_left.php

/includes/column_right.php

/includes/header.php

/includes/footer_left.php

 

Do I overwrite them? or amalgamate the code?

 

Also what do I do with the the following file

 

/included/classes/boxes.php

 

Again, do I overwrite this?

 

please help

 

cheers

Share this post


Link to post
Share on other sites

Hi, i've also installed sts 4.1..and would like to install Infobox Skin manager along...some1 pls answer the above question...

 

Thx

Share this post


Link to post
Share on other sites

Just got the installation done. But I cant see any changes in my catalog even though i've chosen a skin in the admin..

 

Make sure the following folders are writeable:

/catalog/images/skins

/catalog/images/slice_sets and all its subfolders (1, 2, 3, etc...)

 

I've uncheck the read only option in the folder properties. But when I verify the properties, the read-only option is still checked though i've unchecked it! :huh:

 

 

Thx

Share this post


Link to post
Share on other sites
I have STS V4 installed and I want to install info box manager

...

Do I overwrite them? or amalgamate the code?

...

 

You might want to try and read the posts from here: http://forums.oscommerce.com/index.php?s=&...ndpost&p=858751

 

I was also confused as of how to merge the two contribution, but I figured it out... also read the instruction carefully and you will see what you have to do with your boxes scripts...

 

Hope you'll manage. Best of luck ;)

Share this post


Link to post
Share on other sites

I had a nice site working in on my old comp using infobox skins and STS 4.07. I got my new computer and installed the latest XAMPP, which comes with the latest PHP and MySQL. I seemed to have some issues with my old osCommerce, so I downloaded the latest clean installation "oscommerce-2.2ms2-051113".

 

I've transported my database without any issues, and setup the clean osCommerce and it was working fine. when I install just the Skin Manager I keep getting an error. It loads the index page, and if I click on "What's New" it will display the item just fine. The problem is when I click on any category. I end up getting the following:

 

1054 - Unknown column 'p.products_id' in 'on clause'

select count(p.products_id) as total from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '31'

[TEP STOP]

 

I've tried text searching every file in the directory for a SQL query to match that but have found nothing so far. Anyone else know what might cause something like this?

Share this post


Link to post
Share on other sites

Hi Steven,

 

that query is built in index.php - because it is built in "chunks" depending on various things like whether a manufacturer filter is in use, which columns are shown in the results, etc, is probably why your search for it failed.

 

The query is used to find how many products are to be listed in the results for the category that was clicked.

 

I it's unlikely to be connected with Infobox Skin Manager and given that the result of the query (p.products_id is unknown) is just silly there's something fundamental going wrong here.

 

I've seen something similar before, just once, and if I recall correctly it was due to a corrupt table in the database - have you tried reparing the products database table? It could be that something happened to it when you were migrating your data.

 

Regards,

 

 

 

 

 

Mark

Share this post


Link to post
Share on other sites

Thanks for the help so far, much appreciated.

 

I decided to try it again today and see what happens. I did a completely clean install of oscommerce-2.2ms2-051113. tested the new site. worked perfectly. Used the sql query to add the extra info to the DB. Tested the site before adding anything else, and it still worked just fine. (no corrupted DB yet at this point). Followed the rest of the instructions and added the skins... BOOM. same error again. :(

 

It seems to be some how tied to the skins, but I have no clue how or why.

 

If it helps, I have PhP 5.1.4 and MySQL 5.0.21. Think that could be an issue at all?

Edited by randomone

Share this post


Link to post
Share on other sites
Hi! I've installed this contrib a few days ago and it seemed to work fine. But I've created some new boxes m they have the same skin as I chose for all the rest and wanted one of them to have a different skin then the others. When I try to make a change, by selecting a new skin and a new slice set for it I get these errors:

 

Warning: fopen(/home/muccelmi/public_html/muccelmic/includes/boxes/galerie.php): failed to open stream: Permission denied in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 48

 

Warning: fwrite(): supplied argument is not a valid stream resource in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 49

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 50

 

Warning: fopen(/home/muccelmi/public_html/muccelmic/includes/boxes/intro.php): failed to open stream: Permission denied in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 48

 

Warning: fwrite(): supplied argument is not a valid stream resource in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 49

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 50

 

Warning: getimagesize(/home/muccelmi/public_html/muccelmic/images/slice_sets//top_background.jpg): failed to open stream: No such file or directory in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 55

 

Warning: getimagesize(/home/muccelmi/public_html/muccelmic/images/slice_sets//top_background.jpg): failed to open stream: No such file or directory in /home/muccelmi/public_html/muccelmic/admin/infobox_skin_mapping.php on line 64

So, why are they having the skin I've selected for all the boxes but I can't choose a new skin for any of them? I saw that there were some posts that looked similar, but I didn't understand them so please be kind and help me. Thank you veru very much.

 

 

I'm using this for all my clients and it's working great.

Today I made a new installation for a new client on a different server and I'm getting similar errors as the above when trying to confirm a new skin. But the skin does go thru.

 

Any ideas on this? Tks in advance.


Patty

Share this post


Link to post
Share on other sites

I finally got mine working earlier tonight, it seems that the latest XAMPP was causing my issues. I used the older version which I had installed on my desktop and things seem to be working a lot better now. still have some issues to sort through, but its much better now. :)

 

 

In repsonse to the post above, I had those issues before as well. If I remember right it was because my skins directory was not set writable. I also got this message if I accidentally set one of the options to use a skin that was not previously set. For some odd reason the skin mapping seemed to like setting some of the values to skin 6 (Ihave no clue why). Since I had not set skin 6 yet it caused me to display several of those same errors.

 

Hope that helps a bit. :)

Share this post


Link to post
Share on other sites

Tks for your reply.

 

I have checked all my directories permissions before and they were all writable, so that was not the cause. But you gave me an idea to check for the FILES permissions! So I went ahead and CHMOD all files on includes/boxes/ to 777. Bingo! All fine now! :D

 

This might be a server issue, because I've never had that problem on other servers, just this one. Go figure. :blink:


Patty

Share this post


Link to post
Share on other sites

Have to say this is a great contribution, but I seem to be having a couple of issues, for one, the categories box doesnt display anything just this:

test.jpg

 

 

Also when I add something to the shopping cart, all the infoboxes below it disappear. Now I do have a modded shopping cart, code is below:

catalog/shopping_cart.php

<?php
/*
 $Id: shopping_cart.php,v 1.73 2003/06/09 23:03:56 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

 require("includes/application_top.php");

 require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SHOPPING_CART);

 $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_SHOPPING_CART));
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<?php
// BOF: WebMakers.com Changed: Header Tag Controller v2.5.2
// Replaced by header_tags.php
if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {
 require(DIR_WS_INCLUDES . 'header_tags.php');
} else {
?> 
 <title><?php echo TITLE; ?></title>
<?php
}
// EOF: WebMakers.com Changed: Header Tag Controller v2.5.2
?>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css"><script type="text/javascript" language="JavaScript"><!--
function DoSubmission() {
document.cart_quantity.submit();
}
//--></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
 <tr>
<td width="<?php echo BOX_WIDTH_LEFT_IS; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_LEFT_IS; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
</table></td>
<!-- body_text //-->
<td width="100%" valign="top">

<?php // ISM start
require (DIR_WS_INCLUDES . 'skin_top.php'); 
// ISM end ?>

	<?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_SHOPPING_CART, 'action=update_product')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
	  <tr>
		<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
		<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_cart.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
	  </tr>
	</table></td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>
<?php
 if ($cart->count_contents() > 0) {
?>
  <tr>
	<td>
<?php
$info_box_contents = array();
$info_box_contents[0][] = array('align' => 'center',
								'params' => 'class="productListing-heading"',
								'text' => TABLE_HEADING_REMOVE);

$info_box_contents[0][] = array('params' => 'class="productListing-heading"',
								'text' => TABLE_HEADING_PRODUCTS);

$info_box_contents[0][] = array('align' => 'center',
								'params' => 'class="productListing-heading"',
								'text' => TABLE_HEADING_QUANTITY);

$info_box_contents[0][] = array('align' => 'right',
								'params' => 'class="productListing-heading"',
								'text' => TABLE_HEADING_TOTAL);

$any_out_of_stock = 0;
$products = $cart->get_products();
for ($i=0, $n=sizeof($products); $i<$n; $i++) {
// Push all attributes information in an array
  if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) {
	while (list($option, $value) = each($products[$i]['attributes'])) {
	  echo tep_draw_hidden_field('id[' . $products[$i]['id'] . '][' . $option . ']', $value);
//++++ QT Pro: Begin Changed code
	  $attributes = tep_db_query("select popt.products_options_name, popt.products_options_track_stock, poval.products_options_values_name, pa.options_values_price, pa.price_prefix
								  from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " . TABLE_PRODUCTS_ATTRIBUTES . " pa
								  where pa.products_id = '" . $products[$i]['id'] . "'
								   and pa.options_id = '" . $option . "'
								   and pa.options_id = popt.products_options_id
								   and pa.options_values_id = '" . $value . "'
								   and pa.options_values_id = poval.products_options_values_id
								   and popt.language_id = '" . $languages_id . "'
								   and poval.language_id = '" . $languages_id . "'");
//++++ QT Pro: End Changed Code
	  $attributes_values = tep_db_fetch_array($attributes);

	  $products[$i][$option]['products_options_name'] = $attributes_values['products_options_name'];
	  $products[$i][$option]['options_values_id'] = $value;
	  $products[$i][$option]['products_options_values_name'] = $attributes_values['products_options_values_name'];
	  $products[$i][$option]['options_values_price'] = $attributes_values['options_values_price'];
	  $products[$i][$option]['price_prefix'] = $attributes_values['price_prefix'];
//++++ QT Pro: Begin Changed code
	  $products[$i][$option]['track_stock'] = $attributes_values['products_options_track_stock'];
//++++ QT Pro: End Changed Code
	}
  }
}

for ($i=0, $n=sizeof($products); $i<$n; $i++) {
  if (($i/2) == floor($i/2)) {
	$info_box_contents[] = array('params' => 'class="productListing-even"');
  } else {
	$info_box_contents[] = array('params' => 'class="productListing-odd"');
  }

  $cur_row = sizeof($info_box_contents) - 1;

  $info_box_contents[$cur_row][] = array('align' => 'center',
										 'params' => 'class="productListing-data" valign="top"',
										 'text' => tep_draw_checkbox_field('cart_delete[]', $products[$i]['id'], '0', 'onClick="DoSubmission();"'));

  $products_name = '<table border="0" cellspacing="2" cellpadding="2">' .
				   '  <tr>' .
				   '	<td class="productListing-data" align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>' .
				   '	<td class="productListing-data" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] . '</b></a>';

  if (STOCK_CHECK == 'true') {
//++++ QT Pro: Begin Changed code
	if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) {
	  $stock_check = tep_check_stock($products[$i]['id'], $products[$i]['quantity'], $products[$i]['attributes']); 
	}else{
	  $stock_check = tep_check_stock($products[$i]['id'], $products[$i]['quantity']);
	}
//++++ QT Pro: End Changed Code
	if (tep_not_null($stock_check)) {
	  $any_out_of_stock = 1;

	  $products_name .= $stock_check;
	}
  }

  if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) {
	reset($products[$i]['attributes']);
	while (list($option, $value) = each($products[$i]['attributes'])) {
	  $products_name .= '<br><small><i> - ' . $products[$i][$option]['products_options_name'] . ' ' . $products[$i][$option]['products_options_values_name'] . '</i></small>';
	}
  }

  $products_name .= '	</td>' .
					'  </tr>' .
					'</table>';

  $info_box_contents[$cur_row][] = array('params' => 'class="productListing-data"',
										 'text' => $products_name);

  $info_box_contents[$cur_row][] = array('align' => 'center',
										 'params' => 'class="productListing-data" valign="top"',
										 'text' => tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']));

  $info_box_contents[$cur_row][] = array('align' => 'right',
										 'params' => 'class="productListing-data" valign="top"',
										 'text' => '<b>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . '</b>');
}

new productListingBox($info_box_contents);
?>
	</td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>
  <tr>
	<td align="right" class="main"><b><?php echo SUB_TITLE_SUB_TOTAL; ?> <?php echo $currencies->format($cart->show_total()); ?></b></td>
  </tr>
<?php
if ($any_out_of_stock == 1) {
  if (STOCK_ALLOW_CHECKOUT == 'true') {
?>
  <tr>
	<td class="stockWarning" align="center"><br><?php echo OUT_OF_STOCK_CAN_CHECKOUT; ?></td>
  </tr>
<?php
  } else {
?>
  <tr>
	<td class="stockWarning" align="center"><br><?php echo OUT_OF_STOCK_CANT_CHECKOUT; ?></td>
  </tr>
<?php
  }
}
?>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>
  <tr>
	<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
	  <tr class="infoBoxContents">
		<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
		  <tr>
			<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
			<td class="main"><a href="<?php echo tep_href_link(basename($PHP_SELF), 'action=clear_cart', 'NONSSL');?>"><?php echo tep_image_button('button_clear_cart.gif', IMAGE_BUTTON_CLEAR_CART)?></a></td>
<td class="main"><?php echo tep_image_submit('button_update_cart.gif', IMAGE_BUTTON_UPDATE_CART); ?></td>
<?php
$back = sizeof($navigation->path)-2;
if (isset($navigation->path[$back])) {
?>
			<td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?></td>
<?php
}
?>
			<td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td>
			<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
		  </tr>
		</table></td>
	  </tr>
	</table></td>
  </tr>
<?php
 } else {
?>
  <tr>
	<td align="center" class="main"><?php new infoBox(array(array('text' => TEXT_CART_EMPTY))); ?></td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>
  <tr>
	<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
	  <tr class="infoBoxContents">
		<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
		  <tr>
			<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
			<td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
			<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
		  </tr>
		</table></td>
	  </tr>
	</table></td>
  </tr>
<?php
 }
?>
</table></form></td>

<?php // ISM start
require (DIR_WS_INCLUDES . 'skin_bottom.php'); 
// ISM end ?>
<!-- body_text_eof //-->
<td width="<?php echo BOX_WIDTH_RIGHT_IS; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_RIGHT_IS; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
</table></td>
 </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

Share this post


Link to post
Share on other sites

and

catalog/includes/boxes_content/shopping_cart.php:

<?php
/*
 $Id: (advanced) shopping_cart.php,v 1.1 2005/08/31 beer monster Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/
 require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SHOPPING_CART);
?>
<!-- shopping_cart //-->
<script type="text/javascript" src="includes/boxes/rollovers.js"></script>
<script type="text/javascript">
<!--
function decrement(index) {
if(document.forms["cart_box"].elements["cart_quantity[]"][index].value >1) {
  document.forms["cart_box"].elements["cart_quantity[]"][index].value--;
  document.cart_box.submit();
}
}

function increment(index) {
  document.forms["cart_box"].elements["cart_quantity[]"][index].value++;
  document.cart_box.submit();
}

function mark(pid) {
  document.forms["remove_product"].elements["cart_delete[]"][0].value=pid;
  document.forms["remove_product"].elements["products_id[]"][0].value=pid;
  document.remove_product.submit();
}

var sURL = document.URL.toString();
if (sURL.indexOf("?") > 0){
urlsplitter = '';
} else {
urlsplitter = '?';
}
document.write('<form ');
document.write(' name="remove_product" ');
document.write(' action="' + document.URL + urlsplitter + '&action=update_product"');
document.write(' method="post">');
//one element is not an array so add 2 of each!
document.write('<input type="hidden" name="products_id[]">');
document.write('<input type="hidden" name="cart_delete[]">');
document.write('<input type="hidden" name="products_id[]">');
document.write('<input type="hidden" name="cart_delete[]">');
document.write('</form>');

document.write('<form ');
document.write(' name="cart_box" ');
document.write(' action="' + document.URL + urlsplitter + '&action=update_product"');
document.write(' method="post">');
  //-->
</script>

<body onload="MM_preloadImages('images/btn-up.gif','images/btn-dn.gif','images/btn-up-ov.gif', 'images/btn-dn-ov.gif')"></body>
<tr>
 <td>
<?php
 $info_box_contents = array();
 $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '" class="textbox">' . BOX_HEADING_SHOPPING_CART . '</a><br>' );
 new infoBoxHeading($info_box_contents, true, true, tep_href_link(FILENAME_SHOPPING_CART));

 if ($cart->count_contents() > 0) {
$info_box_contents = array();
$any_out_of_stock = 0;
$products = $cart->get_products();
for ($i=0, $n=sizeof($products); $i<$n; $i++) {
// Push all attributes information in an array
  if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) {
	while (list($option, $value) = each($products[$i]['attributes'])) {
	  echo tep_draw_hidden_field('id[' . $products[$i]['id'] . '][' . $option . ']', $value);
	  $attributes = tep_db_query("select popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix
								  from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " . TABLE_PRODUCTS_ATTRIBUTES . " pa
								  where pa.products_id = '" . $products[$i]['id'] . "'
								   and pa.options_id = '" . $option . "'
								   and pa.options_id = popt.products_options_id
								   and pa.options_values_id = '" . $value . "'
								   and pa.options_values_id = poval.products_options_values_id
								   and popt.language_id = '" . $languages_id . "'
								   and poval.language_id = '" . $languages_id . "'");
	  $attributes_values = tep_db_fetch_array($attributes);

	  $products[$i][$option]['products_options_name'] = $attributes_values['products_options_name'];
	  $products[$i][$option]['options_values_id'] = $value;
	  $products[$i][$option]['products_options_values_name'] = $attributes_values['products_options_values_name'];
	  $products[$i][$option]['options_values_price'] = $attributes_values['options_values_price'];
	  $products[$i][$option]['price_prefix'] = $attributes_values['price_prefix'];
	}
  }
}

//Build the infobox...
for ($i=0, $n=sizeof($products); $i<$n; $i++) {

  $cur_row = sizeof($info_box_contents);

 if ((tep_session_is_registered('new_products_id_in_cart')) && ($new_products_id_in_cart == $products[$i]['id'])) {
   $style_text = '<span class="newItemInCart">';
 } else {
   $style_text ='<span class="infoBoxContents">';
 }

//Product Details First...
  $products_name = '  <tr>' .
 // uncomment this line to get micro thumbnails!					 '	 <td><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], '30') . ' </a></td>' .
				   '	<td colspan="4" class="infoBoxContents" valign="top"> <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">'  . $style_text . $products[$i]['name'] . '</span></a>';

//--Add any attributes...
  if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) {
	reset($products[$i]['attributes']);
	while (list($option, $value) = each($products[$i]['attributes'])) {

	  $products_name .= '<br><small><i> - ' . $products[$i][$option]['products_options_name'] . ' ' . $products[$i][$option]['products_options_values_name'] . '</i></small>';
	}
  }

  $products_name .= '	</td>' .
					'  </tr>';


//Now build the Quantity form...
  //--Make sure we have a form array...one element is not an array and
  //--javascript doesn't like elements with [] so add some extra fields if there is only one product in the cart!
  if (sizeof($products)==1){
	 $j =$i+1;
	 $extra_elements = tep_draw_hidden_field('cart_quantity[]', $products[$i]['quantity']) . tep_draw_hidden_field('products_id[]', $products[$i]['id']);
  } else {
	 $j =$i;
	 $extra_elements = '';
  }

  $products_form ='	<tr>' .
				 '	  <td>Qty </td>' .
				 '	  <td> ' . $extra_elements . tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'class="quantitybox"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']) . '</td>' .
				 '	  <td><a href="java script:void(increment('. $j . '));" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'document.up' . $i . '\',\'document.up' . $i . '\',\'images/btn-up-ov.gif\')" ><img name="up' . $i . '" src="images/btn-up.gif" border="0" width=21 height=11></a><br><a href="java script:void(decrement('. $j . '));" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'document.dn' . $i . '\',\'document.dn' . $i . '\',\'images/btn-dn-ov.gif\')" ><img name="dn' . $i . '" src="images/btn-dn.gif" border="0" width=21 height=11></td>' .
				 '	  <td width="100%" align="right"><b>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . '</b></td>' .
				 '	</tr>'.
				 '	<tr><td colspan="5" align="right" width="100%" class="infoBoxContents"><a href="java script:void(mark(\'' . $products[$i]['id'] . '\'));"><span class="removeProduct">' . TABLE_HEADING_REMOVE . ' <img src="images/remove.gif" border="0" height="8" width="8"> </span></a></td></tr>' .
				 '	<tr><td colspan="5" width="100%">' . tep_draw_separator('pixel_silver.gif') . '</td></tr>';

  $cart_contents .= $products_name . $products_form;
}

//Finally, add the total...
//--If we are already at the checkout, don't show the checkout button!
  if (preg_match("/checkout/", $PHP_SELF)) {
 $co_link = '';
  } else {
 $co_link = '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button_nocss('button_checkout_small.gif', IMAGE_BUTTON_CHECKOUT) . '</a>';
  }

  $total = '  <tr height="20">' .
		   '	<td colspan="3" align"left">' . $co_link . '</td>' .
		   '	<td colspan="1" align="right" width="100%" class="infoBoxContents"><b>' . $currencies->format($cart->show_total()) . '</b></td>' .
		   '  </tr>';

  $cart_contents .= $total;

 $info_box_contents = array();
 $info_box_contents[] = array('text' => $cart_contents);

 new cartBox($info_box_contents);

 } else {
 new infoBox(array(array('text' => BOX_SHOPPING_CART_EMPTY)));
 }
?>
</form>
 </tr>
</td>
<!-- shopping_cart_eof //-->

 

 

 

Thanks! :)

Share this post


Link to post
Share on other sites
Guest

I love this contrib! Just have one question though. Why is it that in the infobox skin mapping php there are only 3 radio check boxes for No Skin and not a radio check box for No Skin for all of the infoboxes? So that if we do/don't want a box skinned we can just check that? Is there a way to modify the infobox skin mapping php file so that there is a No Skin check box for all of the infoboxes and not just the header

Share this post


Link to post
Share on other sites

i have done a clean install of osc and added just this mod, but i keep getting the error message

 

Error - DIR_FS_CATALOG_IMAGESslice_sets/1 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/2 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/3 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/4 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/5 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/6 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/7 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/8 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/9 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/10 does not exist

Error - DIR_FS_CATALOG_IMAGESskins/ directory does not exist

 

can anyone help

Share this post


Link to post
Share on other sites
i have done a clean install of osc and added just this mod, but i keep getting the error message

 

Error - DIR_FS_CATALOG_IMAGESslice_sets/1 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/2 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/3 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/4 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/5 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/6 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/7 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/8 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/9 does not exist

Error - DIR_FS_CATALOG_IMAGESslice_sets/10 does not exist

Error - DIR_FS_CATALOG_IMAGESskins/ directory does not exist

 

can anyone help

 

Make sure these directories are all writable (CHMOD 777)


Patty

Share this post


Link to post
Share on other sites

Ok, well I fixed the problem where I can now add to cart without the colum_right disappearing, but now when something is added to cart, the infobox header on shopping cart disappears...hmmm

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×