Posted: Sat Aug 13, 2005 6:23 pm Post subject: phpBB without DNS?
--------------------------------------------------------------------------------
I am working on running our CPG on a backup server that has no DNS setup.
So to get to my board the path is http://IPADDY/~user/cpg/index.php
Unfortunately the DB and configs were copied from the real server with a functioning domain with DNS.
So all of the CPG scripts seem to be off 1 level of subdir in the paths -- for example image refs that are coded to ../../subdir (where subdir is outside CPG) is not finding the correct files anymore since DNS is not translating the domain name etc. It just seems the relative path names to resources outside the cpg subdir are not getting dereferenced correctly.
Is there a way I can spoof this by just editing the DB? Or a better way for me to use relative paths in my image refs within my theme template?
typo, meant cpg (they are bridged)-- maybe this is just an artifact of having no DNS?
You don't need to have DNS for CPG. Did you look at config to have the correct ecard URL?
yep and I changed it to no effect.
All of CPG is funtional. It's just the portions of the template where I grab a header image from ../../Images that things aren't working.
The quick fix would be to remove a level from your relative paths. Without actually seeing the problem firsthand, I can't give much more advice. If you create a test webpage and reference an image in another directory exactly how the template does, do you have the same problem?