AuthorTopic: ZenPhoto 1.2 integration with MU (Read 10175 times)

to work with MU. However, I am using the latest version ZenPhoto (1.2). I am not having too much luck. When I try to load the snewsMU index I get a blank screen, which I am sure has to do with the first modded line in the sNewsMU index file:

1. I installed your package in localhost/steerpike/ and created database for snewsMU.2. Launched for first time and get an error of not setting ZenPhoto....3. Edited .htaccess file from gallery subfolder (RewriteBase /steerpike/gallery)4. Chmoded 777 albums and cache subfolders of gallery.5. Edited zp-config.php.source file and saved as zp-config.php6. Launched http://localhost/steerpike/gallery/zp-core/setup.php (and setup done!)7. Launced main site (http://localhost/steerpike/ and first page of sNewsMU appeared (nice theme BTW)

I not saw any ZenPhoto function included in your index.php of sNewsMU package (not the one from gallery). I not saw a .htaccess for sNewsMU included in your package so I did not made any steps further.

Anyway, at this stage, ZenPhoto is configured, sNewsMU is working (the homepage) but need .htaccess file and ZendPhoto functions included in index.php.

In index.php, first line is this:<?php session_start(); include('snewsMU.php'); define('WEBPATH', 'http://localhost/steerpike/gallery'); require_once("gallery/zp-core/template-functions.php"); ?>

but I can't test it without missing steps (.htaccess file and zen functions included in index.php). Note: I did not worked with ZenPhoto until now.

Well, the instructions in the mod said to install zenphoto normally, then to make that adjustment to the first line of the snews index file.

Then the rest of the instructions were basically to copy the default theme found in /gallery/themes and then name it snews..

then make modifications to the index.php, album.php, and image.php files found in that new copy of the default theme. So you are basically just adding your template to the zen photo files instead of the other way around.

It probably does have to do with that first line in the snews index file though. Getting that path right.

Thanks for your help.. boy integrating a gallery is not the easiest thing!

Oh, ahhh, jesus... I had the exact same flaw just about a day ago or so.... Lemme see, in my dilemma it was the image.php file which resulted in "missfloated" images... However, if edited this might not only be a CSS problem, mine wasn't, but I can't for the life of me remember what it was...

I'm having a few problems with using Zen gallery too. I'm using 1.6MU. I have followed the instructions exactly as in the original tutorial everything appears to have worked i.e Zen gallery works fine but when i boot up my snews on localhost i get the following message.

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\htdocs\mywebsite\snewsMU.php on line 2731

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\htdocs\mywebsite\snewsMU.php on line 370

I've checked everything through multiple times and cant see whats going on? any ideas?

I'm having a few problems with using Zen gallery too. I'm using 1.6MU. I have followed the instructions exactly as in the original tutorial everything appears to have worked i.e Zen gallery works fine but when i boot up my snews on localhost i get the following message.- Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\htdocs\mywebsite\snewsMU.php on line 2731- Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\htdocs\mywebsite\snewsMU.php on line 370

I've checked everything through multiple times and cant see whats going on? any ideas?

If your snews installation was working fine before you activated the Z-P package within it, there could be a conflict with whatever is at lines 2731 and 370 in your snewsMU.php file (as noted in your Warning: strings).

Open your snewsMU.php file, find those offending strings, and post them in a code block here so we can look into this further.

Logged

Do it now... later may not come.-------------------------------------------------------------------------------------------------sNews 1.6 MESU | sNews 1.6 MEMU

Yes my snews intsallation was working fine before i attempted to do the zen gallery mod. There must be some sort of conflict like you say. I will revert back to my backed up snews file and re-do the steps again but i'm not sure if it will help. The lines of code refered to in the error meassge are as follows,

Thanks for looking in to this, i tried the code but the same result occured, only this time the site template was visable .i did however get an extra error . Again on the while loop (line 533 in my MU verison)