Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Eighteen48

Archived
  • Posts

    170
  • Joined

  • Last visited

Posts posted by Eighteen48

  1. Hi Bill,

     

    I am not sure if you can help me or not, but I am going to give it a shot anyways.

     

    I am planning on switching over my main site from a basic HTML site tied into osC w/STS to a Joomla based one, and in doing so I want to convert my tableless Joomla based CSS styled template to a STS CSS Styled template.

     

    I am currently teaching myself CSS, but still not very good at it. I have contacted the designer of the template and their plate is full.

     

    How possible is it to make this conversion? I have all the source files as well as stylesheets and anything else I would need to modify the template.

  2. Maybe it is just me, but I am confused but the second set of instructions for step 1 for the catalog/account_history_info.php file.

     

    Find this text:

    <?php

     

    }

     

     

     

    for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {

     

     

    Further below is another line (if you haven't customised your install!, otherwise, the first if statement, then the else!)... Note also, that appears more then once in the file:

     

    if (sizeof($order->info['tax_groups']) > 1) {

     

    Replace the text, looking for the corresponding } to the above statement, insert the following, comparing the text below with any other customisations. This is the tricky bit, look carefully at the changes, you'll be able to match the echos somewhere in the file.

     

    // Begin RMA Returns

    if ($order->products[$i]['return'] == '1') {

    $rma_query_one = tep_db_query("SELECT returns_id FROM " . TABLE_RETURNS_PRODUCTS_DATA . " where products_id = '" . $order->products[$i]['id'] . "' and order_id = '" . $HTTP_GET_VARS['order_id'] . "'");

    $rma_query = tep_db_fetch_array($rma_query_one);

    $rma_number_query = tep_db_query("SELECT rma_value FROM " . TABLE_RETURNS . " where returns_id = '" . $rma_query['returns_id'] . "'");

    $rma_result = tep_db_fetch_array($rma_number_query);

     

    $return_link = '<b>' . TEXT_RMA . ' # <u><a href="' . tep_href_link(FILENAME_RETURNS_TRACK, 'action=returns_show&rma=' . $rma_result['rma_value'], 'NONSSL') . '">' . $rma_result['rma_value'] . '</a></u></b>';

    } else {

    $return_link = '<a href="' . tep_href_link(FILENAME_RETURN, 'order_id=' . $HTTP_GET_VARS['order_id'] . '&products_id=' . ($order->products[$i]['id']), 'NONSSL') . '"><b><u>' . TEXT_RETURN_PRODUCT .'</a></u></b>';

    }

    // Don't show Return link if order is still pending or processing

    // You can change this or comment it out as best fits your store configuration

    // My first contribution to anything open source, a bug fix to a long running RMA system. These were the changes I had to make to get it to work with a 2.2MS2 install.

     

    if (($orders_status == '1') OR ($orders_status == '2') ) {

    $return_link = '';

    }

    echo ' <tr>' . "\n" .

    ' <td class="main" align="right" valign="top" width="30">' . $order->products[$i]['qty'] . ' x</td>' . "\n" .

    ' <td class="main" valign="top">' . $order->products[$i]['name'];

    if ( (isset($order->products[$i]['attributes'])) && (sizeof($order->products[$i]['attributes']) > 0) ) {

    for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) {

    echo '<br><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value'] . '</i></small></nobr>';

    }

    }

    echo $return_link;

    // JLM: End RMA Returns

     

    echo '</td>' . "\n";

     

    Am I just replacing the code

    for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {

     

    with the above code or all of the code up to the "}"?

  3. Hi Jack,

     

    I have been looking at your contrib for awhile now and finally decided to upgrade from HTC to HT SEO. I like the new look and functions, but I have one question.

     

    Maybe I installed it wrong I, but I know for sure that I did not edit the file in question as I checked previous versions of the file. Is there a way to move Configuration >> Header Tags SEO to the Header Tags SEO and just rename it configuration or something like that? So it will look something like this Header Tags SEO >> Setting (or Configuration).

     

    Also I am facing one small little problem, when updating pages while on header_tags_fill_tags.php I get a Error 500 whenever I select yes for "Fill keywords for all added pages from derived keywords on actual pages?". Could this be because the server is timing out or what could be causing this?

  4. Hey Bill,

     

    I am going out on a limb here and want to move STS out of the "Modules" box. I have already created the following new file admin\includes\boxes\template.php and took what was in admin\includes\boxes\modules.php that pertain to STS in there changing the code according in my new file.

     

    I then edited the admin\includes\column_left.php to reflect the new file I created as well as edited the filenames.php file and edited all the languages files.

     

    I am now moving on to edit admin/modules.php and this is where I a question. Is there a need to edit this file? Also is there any other files I need to edit or create that I might have missed?

  5. I had the same problem and was able to get help figuring this out.

     

    try this out just replace the code with this

     

    <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
    // ** GOOGLE CHECKOUT **
    // Checks if the Google Checkout payment module has been enabled and if so
    // includes gcheckout.php to add the Checkout button to the page
    if (defined('MODULE_PAYMENT_GOOGLECHECKOUT_STATUS') && MODULE_PAYMENT_GOOGLECHECKOUT_STATUS == 'True') {
    ?>
      <tr>
    	<td>
    <?php
      include_once('googlecheckout/gcheckout.php');
    ?>
    	</td>
      </tr>
    <?php
    }
    // ** END GOOGLE CHECKOUT **
    
    $initialize_checkout_methods = $payment_modules->checkout_initialization_method();
    
    if (!empty($initialize_checkout_methods)) {
    ?>
      <tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
    	<td align="right" class="main" style="padding-right: 50px;"><?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS; ?></td>
      </tr>
    <?php
      reset($initialize_checkout_methods);
      while (list(, $value) = each($initialize_checkout_methods)) {
    ?>
      <tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
    	<td align="right" class="main"><?php echo $value; ?></td>
      </tr>
    <?php
      }
    }
     } else {
    ?>

  6. Hi all,

    Really simple one this.

    I've just downloaded the google cart contrib and want to install it, however in the install guide it tells me to copy files to the OSC directory and the OSC/Catalogue directory, which I don't have.

    My file structure is simply

    public_html/osshop/

    and from here you can go into admin, download, ext, images, includes or pub

    so I don't understand where to put the first sets of files.

    Any help would be appreciated.

    Thanks

    Jon

     

    Basically you are just coping the files to whatever directory you have your shop in.

  7. Has anybody tried to use the TinyMCE:Compressor/PHP supplied by Moxiecode? I have tried changing the required code but my text area still up as a regular text area?

     

    Here are the instructions:

    Here is a step by step list on how to install the GZip compressor.
    
      1. Ensure that your server does not have zlib compression enabled in the file php.ini
      2. Copy the tiny_mce_gzip.js and tiny_mce_gzip.php to the tiny_mce directory. The same directory that contains the tiny_mce.js file.
      3. Remove the current script tag. <script type="text/javascript" src="tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
      4. Add the new new GZip script <script type="text/javascript" src="tinymce/jscripts/tiny_mce/tiny_mce_gzip.js"></script>.
      5. Add the new GZip initialization call that will tell the compressor what to include in the output. This should be the sum of all and themes, plugins contained on page. 
    
    Example of initialization
    
    The example below will pack both themes and all plugins into one file/steam. Remove the things you don't need or add your custom plugins to the settings below. Remember that the tinyMCE_GZ.init call must be placed in its own script tag.
    
    <script type="text/javascript" src="tinymce/jscripts/tiny_mce/tiny_mce_gzip.js"></script>
    <script type="text/javascript">
    tinyMCE_GZ.init({
    plugins : 'style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetim
    e,preview,media,'+ 
    	'searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,
    visualchars,nonbreaking,xhtmlxtras',
    themes : 'simple,advanced',
    languages : 'en',
    disk_cache : true,
    debug : false
    });
    </script>
    <!-- Needs to be seperate script tags! -->
    <script type="text/javascript">
    tinyMCE.init({
    .. your normal init ..
    });
    </script>

  8. Another problem I ran into with this install is with the instructions for "shopping_cart.php"

     

    I double checked all my contributions to see if they changed the code but none of them did so I do not know why the code is different. Once again I am using osC RC2a.

     

    The instructions saying replace

    <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 {
    ?>

    With

    <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></form></td>
      </tr>
    <tr>
      <td>
    <?php
    // ** GOOGLE CHECKOUT **
    // Checks if the Google Checkout payment module has been enabled and if so 
    // includes gcheckout.php to add the Checkout button to the page 
    if (defined('MODULE_PAYMENT_GOOGLECHECKOUT_STATUS') && MODULE_PAYMENT_GOOGLECHECKOUT_STATUS == 'True') {
      include_once('googlecheckout/gcheckout.php');
    } 
    // ** END GOOGLE CHECKOUT **
    ?>
    	</td>
      </tr>
    <?php
      } else {
    ?>

    but my code is this

    <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
    $initialize_checkout_methods = $payment_modules->checkout_initialization_method();
    
    if (!empty($initialize_checkout_methods)) {
    ?>
      <tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
    	<td align="right" class="main" style="padding-right: 50px;"><?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS; ?></td>
      </tr>
    <?php
      reset($initialize_checkout_methods);
      while (list(, $value) = each($initialize_checkout_methods)) {
    ?>
      <tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
    	<td align="right" class="main"><?php echo $value; ?></td>
      </tr>
    <?php
      }
    }
     } else {
    ?>

     

    Can someone please help me solve this.

  9. I am having a little problem integrating Google Checkout with my current osC store.

     

    I am using osC RC2a which I have modifed moderately. My problem comes with the instructions for catalog/login.php.

     

    The instructions states to replace

    <td align="right"><?php echo tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN); ?></td>
    					<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
    				  </tr>
    				</table></td>
    			  </tr>
    			</table></td>
    		  </tr>
    		</table></td>
    	  </tr>
    	</table></td>
      </tr>
    </table></form></td>

    with

    <td align="right"><?php echo tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN); ?></td>
    					<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td></form>
    				  </tr>
    				</table></td>
    			  </tr>
    			</table></td>
    		  </tr>
    		</table></td>
    	  </tr>
    	</table>
    <?php
    // ** GOOGLE CHECKOUT **
    // Checks if the Google Checkout payment module has been enabled and if so 
    // includes gcheckout.php to add the Checkout button to the page 
    if (defined('MODULE_PAYMENT_GOOGLECHECKOUT_STATUS') && MODULE_PAYMENT_GOOGLECHECKOUT_STATUS == 'True') {
      include_once('googlecheckout/gcheckout.php');
    } 
    // ** END GOOGLE CHECKOUT **			
    ?>
    	</td>
      </tr>
    </table></td>

    But my code looks like this.

    <?php // +Login Page a la Amazon ?>
    		<td width="50%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="1" cellpadding="2">
    			<tr>
    			  <td><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2">
    				  <tr>
    					<td class="main"><b><?php echo TEXT_EMAIL_QUERY; ?></b></td>
    				  </tr>
    				  <tr>
    					<td class="main"><?php echo TEXT_EMAIL_IS . ' ' . tep_draw_input_field('email_address'); ?></td>
    				  </tr>
    				  <tr>
    					<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    				  </tr>
    				  <tr>
    					<td class="main"><b><?php echo TEXT_HAVE_PASSWORD; ?></b></td>
    				  </tr>
    				  <td class="main"><?php echo tep_draw_radio_field('new_customer','Y',false) . ' ' . TEXT_HAVE_PASSWORD_NO ?> </td>
    				  </tr>
    				  <tr>
    					<td class="main"><?php echo tep_draw_radio_field('new_customer','N',true) . ' ' . TEXT_HAVE_PASSWORD_YES . ' ' .
    					tep_draw_password_field('password','','maxlength="40"'); ?> </td>
    				  </tr>
    				  <tr>
    					<td colspan="2"><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="left"><?php echo tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN); ?></td>
    						  <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
    						</tr>
    					  </table></td>
    				  </tr>
    				  <tr>
    					<td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    				  </tr>
    				  <tr>
    					<td class="smallText" colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') .
    					   '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></td>
    				  </tr>
    				  <tr>
    					<td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    				  </tr>
    				</table></td>
    			</tr>
    		  </table></td>
    		<td width="10%"></td>
    		<td width="40%" height="100%" valign="top"><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
    			<tr class="infoBoxHeading">
    			  <td class="infoBoxHeading"><?php echo TEXT_NEW_CUSTOMER; ?></td>
    			</tr>
    			<tr class="infoBoxContents">
    			  <td valign="top"><table border="0" width="100%"  cellspacing="0" cellpadding="2">
    				  <tr>
    					<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    				  </tr>
    				  <tr>
    					<td class="main"><?php echo TEXT_NEW_CUSTOMER_INTRODUCTION; ?></td>
    				  </tr>
    				</table></td>
    			</tr>
    		  </table></td>
    <?php // -Login Page a la Amazon ?>
    	  </tr>
    	</table></td>
      </tr>
    </table></form></td>

    Am I right in thinking i should just add the

    	<?php
    // ** GOOGLE CHECKOUT **
    // Checks if the Google Checkout payment module has been enabled and if so 
    // includes gcheckout.php to add the Checkout button to the page 
    if (defined('MODULE_PAYMENT_GOOGLECHECKOUT_STATUS') && MODULE_PAYMENT_GOOGLECHECKOUT_STATUS == 'True') {
      include_once('googlecheckout/gcheckout.php');
    } 
    // ** END GOOGLE CHECKOUT **			
    ?>

    before the last set of

    </td>

    </tr>

    </table></form></td>

    and if so where should I move the ending form tag?

  10. Not trying to sound mean or saracastic, but it helps if you fully read the STS manual as it explains everything in there.

     

    After taking a look at your site, I can tell you have not uploaded your template files properly.

     

    Are you using Dreamweaver or Photoshop to create your template? In order to add the place tag holders get them from the manual and place them where you want them.

  11. Hi Eighteen48,

     

    Thanks alot for the reply. Yes, I had already changed the default template name. I also tried changing it to sts_blank_template (the file that is included with STS) to see if it would register, but it still shows up the same shopfront that it orignally had.

     

    I just noticed one thing...on the installation it refers to folder catlog...I don't have a folder catlog in my OsCommerce installation and so I just put everything in their corrosponding folders...i.e...includes>classes....etc. I didnt think it mattered as I was still placing them in the correct folder but maybe it does??

     

    Please help.

    Thanks,

    Liz.

    When you see the the mention Folder Catalog, it just means the base of your store, for example my site is configured as such http://mysite.com/store, I created a folder called styles placed in my store and in that folder is the name of my template. So it looks like this My Site --> store --> styles --> theme1 all my files related to that theme is located in theme1 folder including all images and stylesheets. just make sure that your paths are correct.

     

    I hope I have not confused you.

     

    Basically all you have to do is just upload all the files to their respective folders so anything in catalog would go to where your store is located.

     

    Catalog --> Includes /yoursite.com/includes or however you have your store configureed yoursite.com/store/includes

     

     

    Also make sure you refresh your site, as sometimes broswers will cache your page so you wont see the changes until you force a refresh.

  12. Thanks BKELLUM...but still no joy.

     

    I have now deleted the database and files and started from a clean slate and now i get this error on step 4 of installation:

     

    Warning: main(../includes/database_tables.php) [function.main]: failed to open stream: Permission denied in /home/user/public_html/shop/install/templates/pages/install_4.php on line 13

     

    Warning: main(../includes/database_tables.php) [function.main]: failed to open stream: Permission denied in /home/user/public_html/shop/install/templates/pages/install_4.php on line 13

     

    Warning: main(../includes/database_tables.php) [function.main]: failed to open stream: Permission denied in /home/user/public_html/shop/install/templates/pages/install_4.php on line 13

     

    Fatal error: main() [function.require]: Failed opening required '../includes/database_tables.php' (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/user/public_html/shop/install/templates/pages/install_4.php on line 13

    Does anyone know what i should do?

     

    Thanks for any help

     

    It seems as if your permissions are not set correctly in your directory that your attempting to installed osC in check to make sure everything is CHMOD properly, as well as you have uploaded all your files.

  13. Hi Everyone,

     

    I'm new to Oscommerce and STS and i really need some help. I have followed all the instructions for installing STS and I created a page in HTML which I save as sts_template in the test folder. However nothing seems to be happening to my store.

    It still has the old layout not even any images have shown up. Please tell me if I am missing something. Maybe I have uploaded my css file and images to the wrong folder?

    Is there a step by step guide to actually modifying the store the doc that I downloaded with the STS is a bit vague for me....sorry I did say I was new to this!

     

    Any help would be very much appreciated.

     

    Thanks,

     

    Liz.

     

    P.s. Just wanted to add I have installed the module from the admin side also.

     

    Make sure you specify STS to use that particular template by going into the Modules --> STS --> Default.

     

    Once under Default template name type in the name of the template you want to use.

     

    Note this is only if you want that template to be used throughout your whole store. If you just want that template to be used for a certain category or certain page you need to name it accordingly, for example if you just want that template to be used on the index of your store you would name it "index.php_0.html.

     

    There is more info on naming the template for certain categories, pages, etc in the STS User Manual.

  14. Hello

    it may be a newbie quiz but i'm kinda desperate here! i've search the forum for answers maybe i'm not searching where i should... :(

     

    I really need to know how to call a STS defined variable in php!. . . . . . . . .

     

    . . . . . . . . please help asap as i'm in a desperate situation...

     

    Thank you very very much

     

    :huh:

    If you read through the manual towards the in the STS tags are listed that you can use to customize your template, for instance $content is used to populate the main body of your pages or infoboxes if you have made a template for that.

     

    With STS you do not need to worry about calling any php or anything just create a html template and put the tags of your choice in your desired locations.

     

    I suggest you take a look at the templates supplied with STS so you can get a better idea of what is going on. And if you have a WYSIWYG editor that is even better as you can see full how the tags are place and what you need to do.

     

    I hope this helps.

  15. Stevel - I do not know if you still support this mod, but I have a issue and perhaps you or someone could point me in the right direction.

     

    The login page has worked perfectly for months

    yesterday I applied all of the 2.2rc1 bug fixes and improvements

     

    Now, when the new customer enters an email address and selects No, I am a new customer, they are redirected to the create-account page as normal, but the Email Address does NOT carry forward.

     

    Any Idea on where to look or why this behaivor has started??

    Thank you in advance

     

    Where you able to get their email address to carry over? and have you had any other problems? I am looking to install this on a store based on the RC2a release.

  16. Reading the details about it, it implies that it has to be setup with in the admin area and the products to be listed have to be selected. This isn't really what I want, I just want a new way of displaying the category index' so instead of the awful looking 3 column "panel" affair with a pic on the left, description in the middle, then price then Buy Now. I just want a 4xY grid of products, with a pic on top, product title underneth and then the price under that, no description and no buy now.

    No, here's a shot of what I'm working on as a store site for a client ...

     

    Notice the top product on the main body is the where I want and how, the Specials to appear.

     

    There is a contribution that allows you to create as many or as little columns as you want, as most people usually opt for a 3xy grid, although you could do 4 just remember that depending on your template design especially if you have one that is centered in the middle of the screen it may push your store out.

     

    As for the Specials, that is also down by another contribution called Specials by Category. Which does exactly what the name says it creates a special item for each category, but you will hvae to specify which product you want as a special.

     

    Specials by Category (There are several ones so you can chose the one best for your needs)

    Link

    http://addons.oscommerce.com/category?sear...als+by+category

     

    Multiple Coulmns

    Link

    http://addons.oscommerce.com/info/112

  17. It's saying home/MyActual Username/public_html isn't valid. Go to admin->tools->Database Backup and the correct path is displayed there. Is it the same (except for the admin part)?

     

    Jack

     

    duh, I was using the correct path before, but I left off the training / and then i was it with the admin so thats why I was getting screwed up, and then went back to the other way that screwed me up even more. Its amazing how one little thing can screw everything up.

     

    Thanks...

  18. Okay I must be a boob, as I can not get it to work.

     

    I changed username to my actual username read all 10 pages and tried everything posted, but I am still get the following errors:

     

    Warning: opendir(/home/MyActual Username/public_html) [function.opendir]: failed to open dir: No such file or directory in /homepages/45/d90400221/htdocs/XXXX/store/admin/includes/functions/sitemonitor_functions.php on line 93

     

    Warning: readdir(): supplied argument is not a valid Directory resource in /homepages/45/d90400221/htdocs/XXXX/store/admin/includes/functions/sitemonitor_functions.php on line 95

    Reference file creation failed.

     

    What did I do wrong?

     

    I am using the lastest release of Site Monitor on osC RC2a if that helps

  19. I am adding Page Editor v1.6 and so far everything has been cut and dry except the installation on the Admin side of things.

     

    The instructions says:

    Open catalog/admin/index.php

     

    Find near line:46

    array('title' => BOX_HEADING_REPORTS,

    'image' => 'reports.gif',

    'href' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports'),

    'children' => array(array('title' => REPORTS_PRODUCTS, 'link' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports')),

    array('title' => REPORTS_ORDERS, 'link' => tep_href_link(FILENAME_STATS_CUSTOMERS, 'selected_box=reports')))),

     

    After it, insert:

    // BOF edit pages

    array('title' => BOX_HEADING_PAGES,

    'image' => 'pages.gif',

    'href' => tep_href_link(FILENAME_PAGES, 'selected_box=pages'),

    'children' => array(array('title' => PAGES_LIST_PAGES, 'link' => tep_href_link(FILENAME_PAGES, 'selected_box=pages')),

    array('title' => PAGES_ADD_PAGE, 'link' => tep_href_link(FILENAME_PAGES.'', 'selected_box=pages&action=new_page')))),

    // EOF edit pages

     

    Where would this could be placed or should I disregard it?

  20. Thank you very much, went through both sts_display_output.php files thinking I missed it somewhere, but it looks like i was looking in the wrong file to begin with anyways. That fixed it, now I can go and get some sleep.

     

    Thank you again Bill. :thumbsup:

  21. Hey Bill,

     

    I have a question that you might be able to help with, I have installed osC-PrintOrder with Store Logo and have been able to get everything to work except the pop-up invoice on the customer side, instead of showing the invoice it shows my template.

     

    There was a fix for the earlier versions of STS, found here, but that does not work with the current versions.

     

    Would you have any idea how to work around this?

×
×
  • Create New...