CPG without DNS? CPG without DNS?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

CPG without DNS?

Started by TheKog, August 14, 2005, 12:00:11 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

TheKog

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?

Joachim Müller


TheKog

typo, meant cpg (they are bridged)-- maybe this is just an artifact of having no DNS?

Tranz

You don't need to have DNS for CPG. Did you look at config to have the correct ecard URL?

TheKog

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.

kegobeer

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?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots