Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Block Most Viewed - "There is a Problem with this block

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic
Author Message
BoneDaddy

Beginner
Beginner


Joined: Aug 21, 2003
Posts: 5
Location: Midwest, USA

PostPosted: Tue Aug 26, 2003 1:41 pm    Post subject: Block Most Viewed - "There is a Problem with this block Reply with quote

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
Offline View user's profile Send private message Visit poster's website MSN Messenger
AdBot
   Post subject: Block Most Viewed - "There is a Problem with this block  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue Aug 26, 2003 1:42 pm    Post subject: Reply with quote

you need a trailing \ at the end of that GALLERY_BASEDIR path
Back to top
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue Aug 26, 2003 1:43 pm    Post subject: Reply with quote

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
Offline View user's profile Send private message Visit poster's website
BoneDaddy

Beginner
Beginner


Joined: Aug 21, 2003
Posts: 5
Location: Midwest, USA

PostPosted: Tue Aug 26, 2003 1:55 pm    Post subject: Reply with quote

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
Offline View user's profile Send private message Visit poster's website MSN Messenger
BoneDaddy

Beginner
Beginner


Joined: Aug 21, 2003
Posts: 5
Location: Midwest, USA

PostPosted: Tue Aug 26, 2003 5:30 pm    Post subject: Reply with quote

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
Offline View user's profile Send private message Visit poster's website MSN Messenger
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue Aug 26, 2003 8:19 pm    Post subject: Reply with quote

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
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filter

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia