| Author |
Message |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
|
| Back to top |
|
|
AdBot
|
|
| Back to top |
|
 |
inSaNE_iRIsH
Wizard


Joined: Jun 19, 2003 Posts: 101
|
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
|
| Back to top |
|
|
inSaNE_iRIsH
Wizard


Joined: Jun 19, 2003 Posts: 101
|
Posted: Thu Jul 10, 2003 8:53 am Post subject: |
|
|
| nope, that is already done...i'll explain the reason...when using ensim interface there are virtual links, so the path /home/virtual/site21/fst/var/www/html/ is the hard code to http://baby.rocks-hideout.com/ ...so the path to my first gallery has the same double html/html in it as the path to the second gallery, and the url to each gallery is identical except for the number 2...kinda confusing, but after the issue we worked through with the updated gallery block i know the paths fairly well now, and they are right...like i said in the other forum...this isnt an issue with gallery because the gallery is perfect at the standalone url, it is only when trying to use it in phpnuke that i get the error |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Jul 10, 2003 8:56 am Post subject: |
|
|
hmmm...so even independent of any blocks (random, updated, etc), you just can't get the second gallery to properly display....i'll have to think about this for awhile and see what i can figure out. it seems like you've done everything properly (two gallery directories, two album directories, etc)...
email me the config.php files for each of the two galleries. i'll take a look. |
|
| Back to top |
|
|
inSaNE_iRIsH
Wizard


Joined: Jun 19, 2003 Posts: 101
|
Posted: Thu Jul 10, 2003 12:47 pm Post subject: |
|
|
got it...i deleted both galleries and started from complete scratch...now it works fine...just like i swear it did when i originally made the second gallery...i guess i will just hope that it was some sort of fluke and doesnt come back
so now on to the multiple random pic block errors...i will see what is up with that |
|
| Back to top |
|
|
inSaNE_iRIsH
Wizard


Joined: Jun 19, 2003 Posts: 101
|
Posted: Thu Jul 10, 2003 9:21 pm Post subject: |
|
|
dont worry about this anymore...i am sure i can get it working...that way maybe you can focus on the permanent fix for the Album Block  |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Jul 10, 2003 9:29 pm Post subject: |
|
|
i'm wondering if the errors from the multiple blocks stemmed from the errors you had just fixed up. one thing you have to remember: in the block-random.php file, make sure that you change the following lines to reflect the paths of your second gallery and it's associated albums:
Code: ›
$GALLERY_BASEDIR = "/home/httpd/htdocs/modules/gallery/";
require_once($GALLERY_BASEDIR . "random_support.php");
define(ALBUM_BASEADDR, "http://www.nukedgallery.net/albums/");
define(SERVER_ADDR, "http://www.nukedgallery.net/");
require_once($GALLERY_BASEDIR . "init.php");
define(CACHE_FILE, $gallery->app->albumDir . "/block-random.cache");
define(CACHE_EXPIRED, 86400);
make sure that you have a copy of random-support.php in the new gallery directory, and change the values at the top:
Code: ›
$GALLERY_BASEDIR = "/home/httpd/htdocs/modules/gallery/";
define(ALBUM_BASEADDR, "http://www.nukedgallery.net/albums/");
define(SERVER_ADDR, "http://www.nukedgallery.net/");
require_once($GALLERY_BASEDIR . "init.php");
require_once($GALLERY_BASEDIR . "random_support.php");
define(CACHE_FILE, $gallery->app->albumDir . "/block-random.cache");
as for the albums block, i'm still trying to figure a more elegant solution to the albums block. |
|
| Back to top |
|
|
|
|
|
|
|