Jump to content
Sign in to follow this  
gaspower

Help With Absolute Path Required

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

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites

Hello,

 

Thank you for the reply. I don not have catalog/admin. I have three OSC sites running and all have catalog and admin in seperate directories. Correct shop in under catalog.

 

Thanks JR

Share this post


Link to post
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

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  

×