efelisite Posted October 16, 2008 Posted October 16, 2008 HI, 1. Will like to ask you how can i add content information to Information: Shipping & Returns Privacy Notice Conditions of Use Contact Us in my page at http://www.efelisite.com/catalog? I cannot find a way to upload my content in admin page http://www.efelisite.com/catalog/admin. 2. Why is my page http://www.efelisite.com/catalog having error when download? how to resolve that? Object expected in line 419. Thank you & best regards, Felicia
straka Posted October 16, 2008 Posted October 16, 2008 includes/languages/english shipping.php ... the other files are in this folder too If you would like to be able to edit the info-pages through your admin-frontend, you can use this contribution: http://www.oscommerce.com/community/contributions,1026 What you mean, "having error when download?
sLaV- Posted October 16, 2008 Posted October 16, 2008 2. Why is my page http://www.efelisite.com/catalog having error when download? how to resolve that?Object expected in line 419. Thank you & best regards, Felicia error: urchinTracker() is not defined In your /catalog/includes/footer.php you have the following: <script src="<http://www.google-analytics.com/urchin.js>" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-530454-5"; urchinTracker(); </script> <script src="<http://www.google-analytics.com/urchin.js>" should be: <script src="http://www.google-analytics.com/urchin.js" so it should be: <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-530454-5"; urchinTracker(); </script>
arietis Posted October 16, 2008 Posted October 16, 2008 also, you should change the name of the directory that your admin tool is in. everyone knows that /admin exists. if there are security holes in your web site this give hackers just one more means of entry to your site. change the name to something that noone would guess and update the /admin/includes/configure.php file to reflect the new name.
efelisite Posted October 21, 2008 Author Posted October 21, 2008 error: urchinTracker() is not defined In your /catalog/includes/footer.php you have the following: <script src="<http://www.google-analytics.com/urchin.js>" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-530454-5"; urchinTracker(); </script> <script src="<http://www.google-analytics.com/urchin.js>" should be: <script src="http://www.google-analytics.com/urchin.js" so it should be: <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-530454-5"; urchinTracker(); </script> I cannot find the script as you mention in /catalog/includes/footer.php . Here is what I have in footer.php <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_INCLUDES . 'counter.php'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> <?php } ?> Pls. advice again. THanks
efelisite Posted October 21, 2008 Author Posted October 21, 2008 includes/languages/english shipping.php ... the other files are in this folder too If you would like to be able to edit the info-pages through your admin-frontend, you can use this contribution: http://www.oscommerce.com/community/contributions,1026 What you mean, "having error when download? HI, THanks for your reply. I went http://www.oscommerce.com/community/contributions,1026, which shall i download and do what next? How do i add content to those term and condition; shipment links? Regards
sLaV- Posted October 21, 2008 Posted October 21, 2008 I cannot find the script as you mention in /catalog/includes/footer.php . Here is what I have in footer.php <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_INCLUDES . 'counter.php'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> <?php } ?> Pls. advice again. THanks It looks like you've only added this code to /catalog/index.php ... not good for your analytics reports as it would only track this page ... i suggest you remove this from /catalog/index.php and add it to /catalog/includes/footer.php JUST before the closing ?> ... ofcourse keeping in mind to make the changes i suggested
efelisite Posted October 22, 2008 Author Posted October 22, 2008 It looks like you've only added this code to /catalog/index.php ... not good for your analytics reports as it would only track this page ... i suggest you remove this from /catalog/index.php and add it to /catalog/includes/footer.php JUST before the closing ?> ... ofcourse keeping in mind to make the changes i suggested Thank you sLaV for your advice. Yes, i have done as mention and it works. Thanks!
efelisite Posted October 22, 2008 Author Posted October 22, 2008 Hi sLaV, Do you have facebook account. find me at http://www.facebook.com/apps/application.php?id=29225809234. =)
efelisite Posted October 22, 2008 Author Posted October 22, 2008 Hi sLaV, I have another question to ask you. How do I set the backup directory into configure.php? What is the code? Error: Backup directory does not exist. Please set this in configure.php./ When i open the configure.php, it shows that I cannot write. Why is that so? Error: I can not write to this file. Please set the right user permissions on: /includes/configure.php Thank you Felicia
efelisite Posted October 22, 2008 Author Posted October 22, 2008 also, you should change the name of the directory that your admin tool is in. everyone knows that /admin exists. if there are security holes in your web site this give hackers just one more means of entry to your site. change the name to something that noone would guess and update the /admin/includes/configure.php file to reflect the new name. I cannot rename the "admin" folder. It is set by osCommerce. How can I change? Thanks
sLaV- Posted October 22, 2008 Posted October 22, 2008 Thank you sLaV for your advice. Yes, i have done as mention and it works. Thanks! You still have that script in your /catalog/index.php page ... remove it from there and only leave it in /catalog/includes/footer.php ... at the moment you are calling your tracker script twice on the index.php page which is not good ... Hi sLaV, Do you have facebook account. find me at http://www.facebook.com/apps/application.php?id=29225809234. =) Sorry don't use facebook ... im anti-facebook/myspace etc :P Hi sLaV, I have another question to ask you. How do I set the backup directory into configure.php? What is the code? Error: Backup directory does not exist. Please set this in configure.php./ When i open the configure.php, it shows that I cannot write. Why is that so? Error: I can not write to this file. Please set the right user permissions on: /includes/configure.php Thank you Felicia To setup the backup directory you will need to set this up in your /catalog/admin/includes/configure.php file ... this line indicates where the backup directory is on your server: define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); So then you'd simply need to create a backups folder in your /admin directory and you should be ok. I'm guessing your using the osC File Manager ... please do not use this any longer (read the forums as to why you shouldnt be using this) ... use a PHP editor (like Dreamweaver/etc) and upload your files via an FTP client (cute FTP, Smart FTP / etc) I cannot rename the "admin" folder. It is set by osCommerce. How can I change? Thanks Once again please download an FTP client which will allow you to manage your folders/etc ... then rename the /admin directory and change your configure files
efelisite Posted October 27, 2008 Author Posted October 27, 2008 You still have that script in your /catalog/index.php page ... remove it from there and only leave it in /catalog/includes/footer.php ... at the moment you are calling your tracker script twice on the index.php page which is not good ... Sorry don't use facebook ... im anti-facebook/myspace etc :P To setup the backup directory you will need to set this up in your /catalog/admin/includes/configure.php file ... this line indicates where the backup directory is on your server: define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); So then you'd simply need to create a backups folder in your /admin directory and you should be ok. I'm guessing your using the osC File Manager ... please do not use this any longer (read the forums as to why you shouldnt be using this) ... use a PHP editor (like Dreamweaver/etc) and upload your files via an FTP client (cute FTP, Smart FTP / etc) Once again please download an FTP client which will allow you to manage your folders/etc ... then rename the /admin directory and change your configure files
efelisite Posted October 27, 2008 Author Posted October 27, 2008 HI sLaV, I dont know what is the hostname to login via WS_ftp? Can kindly advice? Thank you Felicia
sLaV- Posted October 27, 2008 Posted October 27, 2008 HI sLaV, I dont know what is the hostname to login via WS_ftp? Can kindly advice? Thank you Felicia Hi Felicia, Unfortunately not, this information is supplied to you by your host - please contact them for it. Regards, Slav
Recommended Posts
Archived
This topic is now archived and is closed to further replies.