Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help With Absolute Path Required


gaspower

Recommended Posts

Hello,

I am trying to install Fancier Invoice, but having a little issue with getting the border images to show. I am sure it is because I do not have the path set correctly in configure.php. My complete path to catalog from root is:

 

/var/www/domain.com/htdocs/catalog (catalog)

/var/www/domain.com/htdocs/admin (admin)

 

Fancier Invoice asks for absolute, can someone tell me what the correct path may be.

 

// Folder Definitions

define('DIR_FS_ADMIN', '/htdocs/admin/'); // absolute path required

define('EMAIL_INVOICE_DIR', 'email_invoice/');

define('INVOICE_TEMPLATE_DIR', 'templates/');

 

// Email Invoice File Definitions

define('FILENAME_EMAIL_INVOICE', 'email_invoice.php');

define('FILENAME_EMAIL_CACHE_FILE', 'temp_cache.php');

define('FILENAME_ORDERS_INVOICE', 'invoice.php');

 

Thanks JR

Link to comment
Share on other sites

Your path to admin is wrong.

It should be (assuming your path to catalog is correct):

/var/www/domain.com/htdocs/catalog/admin/

 

and

define('DIR_FS_ADMIN', '/htdocs/catalog/admin/'); // absolute path required

 

Your shop is set up in a folder called catalog right?

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

Hello,

Below is what I get whn I click on the invoice buttonunder order view.

 

webpage.jpg

 

I did add a directory catalog/admin and uploaded all corresponding files? When I click on one of the broken images as a view image, I get;

 

http://www.domain.com/images/borders/maingrey_02.gif

 

But should be;

 

http://www.domain.com/catalog/images/borders/maingrey_02.gif

 

Some reason it is not putting "catalog"??

 

Thanks JR

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...