Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

remote admin path to catalog.txt


Recommended Posts

I'm having trouble configuring admin to work remotely from the catalog. I understand that there will be some limitations of this (unable to upload images etc) but that's not where the problem lies and I'm not sure if it's me or osC.


My question is essentially:




If I understand things correctly, osCadmin uses these values to access the catalog files etc, in which case it needs to know the server on which the catalog resides. This is of course defined in HTTP_CATALOG_SERVER and has to be used in any href link to catalog files, BUT, the osCadmin code is inconsistent as to whether the server is included or not.


IOW, in some places a tep-image call is set as follows:-




whereas in others it's:-


tep-image(DIR_WS_CATALOG_LANGUAGES, ...etc)


So however you set up admin configure.php it will be wrong somewhere.


Even more odd is the line from manufacturers.php:-


$image_location = DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG_IMAGES . $manufacturer['manufacturers_image'];


which is a very odd combination of values that makes no sense to me (and certainly doesn't work).


I can of course edit the code to correct these, but I try to avoid that as much as possible, at least not until I'm sure I'm not wrong.


Can someone confirm whether the code is indeed wrong and suggest maybe the best cure, i.e. add the server constant into the code in all appropriate places, or take it out and include it into the definitions in configure.php?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...