Pages (4):    1 2 3 4   
Member
Member
dryan   04-12-2005, 00:59
#11

sorry i didn't make it more clear but this is a theme for [i]zenphoto[/i] not wordpress. it goes in the zenphoto themes folder. then you activate it under the zenphoto themes admin.

qtrc, you don't have anything installed at /pictures. i went to /zenphoto and found a sample gallery, but it doesn't appear to be using my theme. i have not tested it without modrewrite, but off hand i can't think of any code in there that should need it (the actually stuff that loads the photos is the same as the default theme).

Ilione, your problem is that you installed it in the wrong place. You'll need to reinstall K2 (the WordPress theme) back into /wp-content/themes/ and then put my theme into /zenphoto/themes/

Member
Member
dryan   04-12-2005, 01:04
#12

By the way, it seems that you both my be using the outdated version of the theme, please redownload it. There's a readme included now as well.

One thing I didn't mention there (which I will add) is to get a tab to automatically show up in the menu, make a new page in wordpress. Make it's page-slug the same as the folder you've installed ZenPhoto. For example, on my site I installed ZenPhoto into a directory (folder, whichever) named "photography" so I made a page titled Photography which has the page-slug "photography". This gives you the tab in the menu. THIS DOES REQUIRE MODREWRITE though. If you're not using it, you will need to manually add a link. Email me for that one.

Member
Member
Ilione   04-12-2005, 07:36
#13

Well that explains where I've been going wrong lol

Managed to rectify immediately, but now having the same problem that kennysnipes had!

"MySQL Query ( SELECT *, (date + 0) AS date FROM albums WHERE folder='nrm-2004' LIMIT 1; ) Failed. Error: Table 'funks_wp.albums' doesn't exist"

Do I need to manually add this table? :o) I'm having to shout at my host because phpmyadmin has disappeared lol

I did use the new version of your theme but the readme only mentioned the xif stuff. (Which by the way is another great addition!) Sadly, when I pasted the xif code into my template-functions.php it seems to cause a parse error?

I'm such a pain, I know :o/

x

Member
Member
qtrc   09-12-2005, 05:48
#14

dryan,

I got your theme to work on my blog. You did a great job!!!

One question, how do I go about changing the album page? I want to seperate the photos just a bit.

Member
Member
spacewalk   03-01-2006, 17:26
#15

dryan: I get the following 3 errors when I try to use your zenphoto K2 theme (zenphoto is installed at spacewalk.com/zenphoto). Any thoughts? Thanks.

Warning: main(../photography/zen/Sajax.php): failed to open stream: No such file or directory in /usr/www/users/ralph/spacewalk/zenphoto/themes/k2/header.php on line 12

Warning: main(): Failed opening '../photography/zen/Sajax.php' for inclusion (include_path='.:/usr/local/lib/php:.:.:.:.') in /usr/www/users/ralph/spacewalk/zenphoto/themes/k2/header.php on line 12

MySQL Query ( SELECT *, (date + 0) AS date FROM albums WHERE folder='mit-stata-center' LIMIT 1; ) Failed. Error: Table 'ralph_wordpress.albums' doesn't exist

Member
Member
qtrc   03-01-2006, 23:23
#16

spacewalk: You need to edit the path of the header to your zenphote install. As you can see:

Warning: main(../photography/zen/Sajax.php):

is pointing to photography directory. And you installed it in zenphoto so edit the line to:

/zenphoto/zen/Sajax.php

I hope that made sense. If not post again and I will give you instructions on what I did to get it working.

Member
Member
spacewalk   04-01-2006, 15:32
#17

qtrc: Thanks. Editing the path in header.php got rid of the first 2 errors. That leaves me with the MySQL error below (same one that Ilione reported above). You'll see a db named "ralph_wordpress" referenced in this error. That's the name of my WP db, but zenphoto uses an entirely different db called "ralph_zenphoto" -- which of course seems related to the error. Where is the K2 zenphoto theme getting the db name from?

Also, "mit_stata_center" is the correct name of the only zenphoto album I have defined (so far) in this test installation of zp. So the K2 theme is getting that OK from zp, but is assuming (apparently) that zp uses the same db as WP. If I use the default zp theme, zp works. So I can't imagine why the K2 theme would be having this MySQL error, since I see no SQL queries defined in any of the K2 theme files themselves.

MySQL Query ( SELECT *, (date + 0) AS date FROM albums WHEREfolder='mit-stata-center' LIMIT 1; ) Failed. Error: Table 'ralph_wordpress.albums' doesn't exist

Member
Member
spacewalk   04-01-2006, 16:39
#18

Partly answering my own question: The problem is that the K2 theme requires WP's wp-blog-header.php file, which in turn requires wp-config.php, and that's where the db is being set to the WordPress db.

So, this K2 theme probably works fine if you're putting your zenphoto tables into the WP db. But it doesn't work if you're using a separate db file for zenphoto.

Is there an obvious way to fix the K2 zp theme code, or do I have to use the WP db for my zp tables?

Beyond this, are there any other elegant ways to integrate zp and WP? I notice that the zp developers anticipate LOTS of WP integration. But is that going to happen anytime soon?

Member
Member
Ilione   09-01-2006, 09:51
#19

I think I fixed mine in the zen config by setting the db to zp and making a zp db -- then deleting the _wp in the speech marks of this line: $conf['mysql_prefix'] = " ";

I can't honestly remember now though :o/

You can see I got it working on http://www.funkypink.org/visual/ though, as now my http://www.funkypink.com site has zenphoto standalone with a mere menu link to it :o)

I'm also awaiting the integration stuff with excitement!

x

Member
Member
genosypheus   09-01-2006, 17:48
#20

looks very promising, but does this zp theme works with K2 beta 2 r157 on WP 2.0 ?

Pages (4):    1 2 3 4   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.