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  

Random Photo V2 error

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

Beginner
Beginner


Joined: Nov 14, 2003
Posts: 5

PostPosted: Tue Jan 27, 2004 12:28 am    Post subject: Random Photo V2 error Reply with quote

I can't figure out these errors. Gasllery is working, however, whenever the block is enabled, I get these errors. The files are in the block directory.

Warning: main(block-NG-RandomPhoto_functions.php): failed to open stream: No such file or directory in /home/blocks/block-NG-RandomPhoto.php on line 30

Fatal error: main(): Failed opening required 'block-NG-RandomPhoto_functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/blocks/block-NG-RandomPhoto.php on line 30
----

I used for GALLERYBASEDIR modules/gallery, and all kind including http://www.site.com/modules/gallery to no avail.

Using gallery 1.4.1 pl1.
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):
The CONFIG lines from the top of your block file(s):
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Random Photo V2 error  

Back to top
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Tue Jan 27, 2004 1:43 am    Post subject: Re: Random Photo V2 error Reply with quote

It would seem that your PATHS are wrong. Plz post the CONFIG lines from your BLOCK
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


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

PostPosted: Tue Jan 27, 2004 8:16 am    Post subject: Re: Random Photo V2 error Reply with quote

sorry, that was my mistake..i forgot to edit the include line in the block file. just change the include line to read:
PHP: › <?php require_once("NG-RandomPhoto_functions.php"); ?>
Back to top
Offline View user's profile Send private message Visit poster's website
dcasmr

Beginner
Beginner


Joined: Nov 14, 2003
Posts: 5

PostPosted: Wed Jan 28, 2004 12:50 am    Post subject: Re: Random Photo V2 error Reply with quote

Dari: It worked after I put in your suggestions, I also had a slight mistake forgetting to append the forward slash to the path.

Thanks for putting out that great block. Smile
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Wed Jan 28, 2004 7:54 am    Post subject: Re: Random Photo V2 error Reply with quote

glad you like it Smile ..i aim to please
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 YorkSearch Engine OptimisationSearch Engine OptimisationCompare VoIPSEO IndiaWeb Design Melbournemiami web designSEO IndiaLink BuildingPhoenix SEOPhoenix Web MarketingSEOManual Directory Submission Serviceflorida web design companyScottsdale Interior Designweb marketing servicesScottsdale SEOHome Appliances

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