Random block and featured photo block installation problems
boonkwee
Joined: 2003-02-12
Posts: 2 |
Posted: Wed, 2003-02-12 15:01 |
Hi All. I have searched through the forum and have tried everything that has been mentioned but I'm still having difficulty adding a php-nuke block for random block or featured photo. I'll list my details below. 1. Running php-nuke 6.0 with gallery 1.3.3 Step 1. added this line to block-combo.php Step 2. added these lines to theme.php for the theme I'm using. Step 3. added block-random.php to index.php Step 4. created block using block admin and added the following url to content box Step 5. I receive this error message if I paste this url into the browser Fatal error: main() [function.main]: Failed opening required '$/home/boonkwee/public_html/photography/modules/gallery/init.php' (include_path='') in /home/boonkwee/public_html/photography/modules/gallery/block-combo.php on line 59 Step 6. I see a block containing the url if I load my page. Please http://photography.mavenonline.com I'll be really grateful for any help. Please also point me to the right direction if I'm missing something here (like a detailed installation document or something). Thank you thank you thank you!!!! :???: :???: :???: |
|
Posts: 18
Looks like the random block is working on your site! For the "combo" (featured photo + last updates), you would also need to add that file name to gallery's index.php list of permitted files. I just reposted the script I am using to make sure it was the most updated version. Maybe <!-- BBCode Start --><A HREF="http://www.kalorama.net/vyftp/block-combo.php.txt" TARGET="_blank">this version</A><!-- BBCode End --> will work for you (making edits as needed to include your domain/directories). As with the random photo block, I have it saved in my gallery directory and I use the same url type to call it from blocks admin. Sorry I can't help more. . .
Posts: 794
Topic moved from PHP-Nuke or Post-Nuke Module
Posts: 7
i had the same problem and resolved it by changing the lowercase g in the block content box to an uppercase g because my folder is modules/Gallery not modules/gallery.
good luck