mods4u Posted December 28, 2008 Share Posted December 28, 2008 Please can someone help I have been on this for days now and I have uninstalled and reinstalled. The problem is that when I login to admin there is no images showing i have added an image to see. The flags for the currency also isnt showing Thank you Link to comment Share on other sites More sharing options...
FIMBLE Posted December 28, 2008 Share Posted December 28, 2008 Look at your configure.php file admin / includes / configure.php Also check that your stylesheet.css is in the includes folder Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
mods4u Posted December 28, 2008 Author Share Posted December 28, 2008 Thanks for the quick reply nic I have the stylesheet.css in the includes folder what am I looking at in the config.php file sorry i'm a noob at all this Thanks Link to comment Share on other sites More sharing options...
FIMBLE Posted December 28, 2008 Share Posted December 28, 2008 For the correct entries, post it here we will see if its a quick sort out. DO NOT include the bottom part with the log in details in though :-) Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
mods4u Posted December 28, 2008 Author Share Posted December 28, 2008 Here is complete information Thank you <?php /* $Id: configure.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', ''); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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/'); // define our database connection define('DB_SERVER', ''); define('DB_SERVER_USERNAME', 'mysql'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> Thanks Link to comment Share on other sites More sharing options...
FIMBLE Posted December 28, 2008 Share Posted December 28, 2008 Thats a blank one, i take it that you had problems installing? Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
FIMBLE Posted December 28, 2008 Share Posted December 28, 2008 <?php/* $Id: configure.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://www.wiirapidfire.com'); define('HTTP_CATALOG_SERVER', 'http://www.wiirapidfire.com'); define('HTTPS_CATALOG_SERVER', 'http://www.wiirapidfire.com'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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/'); // define our database connection define('DB_SERVER', ''); define('DB_SERVER_USERNAME', 'mysql'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> Give tihs a go, you need to add your passwords etc to the bottom part to make it work Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
FIMBLE Posted December 28, 2008 Share Posted December 28, 2008 and this line define('DIR_WS_CATALOG', '/catalog/'); make like define('DIR_WS_CATALOG', '/'); Sorry missed it off Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
mods4u Posted December 28, 2008 Author Share Posted December 28, 2008 Thats a blank one, i take it that you had problems installing? It told me everything installed ok I followed the Instructions and it told me that everything installed ok. It took me to the page where the catalog and admin button is i signed in and it comes up with no images. Link to comment Share on other sites More sharing options...
FIMBLE Posted December 28, 2008 Share Posted December 28, 2008 Ok follow the above and it should be fine. Dont forget to add you passwords etc, if you are not sure then copy it from the includes / configure.php which has been written to properly Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
mods4u Posted December 28, 2008 Author Share Posted December 28, 2008 Ok follow the above and it should be fine.Dont forget to add you passwords etc, if you are not sure then copy it from the includes / configure.php which has been written to properly Nic Sorry about this I dont think its done it on the Includes / configure.php here is the code /* $Id: configure.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', ''); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Link to comment Share on other sites More sharing options...
FIMBLE Posted December 28, 2008 Share Posted December 28, 2008 It was when i looked last! <?php/* $Id: configure.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.wiirapidfire.com'); define('HTTPS_SERVER', 'http://www.wiirapidfire.com'); define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://www.wiirapidfire.com'); define('HTTPS_COOKIE_DOMAIN', 'https://www.wiirapidfire.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Add your bit to the end and dont forget the closing ?> last of all Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
mods4u Posted December 28, 2008 Author Share Posted December 28, 2008 It was when i looked last! Add your bit to the end and dont forget the closing ?> last of all Nic Oh well not working dont know whats wrong with it Thanks for helping Link to comment Share on other sites More sharing options...
FIMBLE Posted December 28, 2008 Share Posted December 28, 2008 With the files i gave you, you should be able to get it fired up fine Tim Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
mods4u Posted December 29, 2008 Author Share Posted December 29, 2008 With the files i gave you, you should be able to get it fired up fine Tim It comes up with this error now Fatal error: Call to a member function add_current_page() on a non-object in /home/fhlinux135/w/wiirapidfire.com/user/htdocs/includes/application_top.php on line 312 Link to comment Share on other sites More sharing options...
FIMBLE Posted December 29, 2008 Share Posted December 29, 2008 try restoring your database. Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
mods4u Posted December 29, 2008 Author Share Posted December 29, 2008 try restoring your database.Nic sorry nic im new to all this can you explain on how to restore or could you point me in the right direction for someone to install for me if I make a donation. Link to comment Share on other sites More sharing options...
germ Posted December 29, 2008 Share Posted December 29, 2008 It comes up with this error now Fatal error: Call to a member function add_current_page() on a non-object in /home/fhlinux135/w/wiirapidfire.com/user/htdocs/includes/application_top.php on line 312 The DB aint the problem with the error on line 312. Look at the links in my posts here: Click Me 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 > Link to comment Share on other sites More sharing options...
germ Posted December 29, 2008 Share Posted December 29, 2008 If you still have no style or images in your admin, look in /admin/includes for a .htaccess file If you find one, rename it to text.htaccess 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 > Link to comment Share on other sites More sharing options...
mods4u Posted December 29, 2008 Author Share Posted December 29, 2008 The DB aint the problem with the error on line 312. Look at the links in my posts here: Click Me Thanks very much jim the link you gave me worked for the error. As anyone as any ideas about the first problem I have on the first post. Link to comment Share on other sites More sharing options...
germ Posted December 29, 2008 Share Posted December 29, 2008 Thanks very much jim the link you gave me worked for the error. As anyone as any ideas about the first problem I have on the first post. ^^^ My last post ^^^ ;) 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 > Link to comment Share on other sites More sharing options...
mods4u Posted December 29, 2008 Author Share Posted December 29, 2008 ^^^ My last post ^^^ ;) Thanks but this as been fixed by your link Fatal error: Call to a member function add_current_page() on a non-object in /home/fhlinux135/w/wiirapidfire.com/user/htdocs/includes/application_top.php on line 312 The problem I have is no data base images as the first post i made Link to comment Share on other sites More sharing options...
germ Posted December 29, 2008 Share Posted December 29, 2008 Check for the .htaccess file like I suggested... :huh: 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 > Link to comment Share on other sites More sharing options...
mods4u Posted December 29, 2008 Author Share Posted December 29, 2008 Check for the .htaccess file like I suggested... :huh: Jim you are a dimond m8 fixed it I missed your post thanks alot. A Dimond Link to comment Share on other sites More sharing options...
FIMBLE Posted December 29, 2008 Share Posted December 29, 2008 The DB aint the problem with the error on line 312. Look at the links in my posts here: Click Me This post has been edited by germ: Today, 01:09 AM You say that but i was surprised to find that it did work Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.