| Author |
Message |
BoneDaddy
Beginner


Joined: Aug 21, 2003 Posts: 5 Location: Midwest, USA
|
Posted: Tue Aug 26, 2003 1:41 pm Post subject: Block Most Viewed - "There is a Problem with this block |
|
|
I feel like newbie with this question, but I cannot get the Most Viewed Block to work. I am hosting this site on my own IIS 4 server at home. I believe it has something to do with the paths I provided. Any help would be appreciated. I have looked in the forums for most of this afternoon and found nobody else who has this problem.
Here is how I have change the code to fit my server:
/* EDIT THESE TO REFLECT YOUR INSTALLATION */
$GALLERY_BASEDIR = "c:\inetpub\phpnuke2\modules\gallery";
define(SERVER_ADDR,"http://bigelkfloaters.homeip.net");
/* STOP EDITTING HERE */
http://bigelkfloaters.homeip.net
I am running PHP-Nuke ver 6.8 and Gallery 1.4 RC1
Windows 2000 Advanced Server, IIS 4
PHP 4.3.2
Thanks in advance for any help,
BoneDaddy
----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable): |
|
| Back to top |
|
|
AdBot
|
| Post subject: Block Most Viewed - "There is a Problem with this block |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Aug 26, 2003 1:42 pm Post subject: |
|
|
| you need a trailing \ at the end of that GALLERY_BASEDIR path |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Aug 26, 2003 1:43 pm Post subject: |
|
|
by the way, from http://gallery.menalto.com/modules.php? ... uirements:
Quote: › Users have experienced a great deal of difficulty getting Gallery to run properly on Win98, WinME or IIS4.0/5.0. As a result, we do not support those platforms! Sorry, but there are only so many hours in a day, we do this for free and we don't have time to support every platform. |
|
| Back to top |
|
|
BoneDaddy
Beginner


Joined: Aug 21, 2003 Posts: 5 Location: Midwest, USA
|
Posted: Tue Aug 26, 2003 1:55 pm Post subject: |
|
|
Thanks for the quick reply...I actually had no problems getting Gallery to run in a Windows environment, its just my lack of PHP knowledge that is killing me lately.
Learning by trial and error...that kind of thing. I will try the fix above when my cable comes back up...The tragedy of hosting at home is that the dang thing goes down about once a day...
I may be of some assistance later as I get better with the PHP in helping others with IIS and Gallery...I would be happy to assist once I get my feet a little wetter.
Again, thanks for the help,
BD |
|
| Back to top |
|
|
BoneDaddy
Beginner


Joined: Aug 21, 2003 Posts: 5 Location: Midwest, USA
|
Posted: Tue Aug 26, 2003 5:30 pm Post subject: |
|
|
Well, I have tried all afternoon to get this going and I do not think it is meant to be. Any Windows Losers out there besides me???
I am sure it has something to do with the path that is used to define the $GALLERY_BASEDIR but I can't for the life of me figure it out...I have tried many many different variations of the path.
Dari, you told me to place the \ at the end of the line...I assumed you meant before the quotes..but I tried it before and after and neither worked.
If anyone out there is using Windows 2000 Advanced Server w. IIS 5 (I misposted earlier) I would be interested in knowing if you were able to get this block running.
BD |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Aug 26, 2003 8:19 pm Post subject: |
|
|
your GALLERY_BASEDIR should be:
$GALLERY_BASEDIR = "c:\inetpub\phpnuke2\modules\gallery\";
define(SERVER_ADDR,"http://bigelkfloaters.homeip.net/");
you may have to escape those slashes, since PHP may parse them out. to check to make sure it's correct, put:
echo $GALLERY_BASEDIR;
and
echo SERVER_ADDR;
underneath the declarations lines to see if it is properly storing them. |
|
| Back to top |
|
|
|
|
|
|
|