![]() |
|
Zenphoto as a Plugin hack database error - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Zenphoto as a Plugin hack database error (/thread-3255.html) |
Zenphoto as a Plugin hack database error - bpetruzzo - 2008-07-09 I'm trying to include zenphoto template functions in an external website, like described here: http://www.zenphoto.org/2008/01/hacks/#zenphoto-as-plugin Zenphoto ends up throwing this error at me: Zenphoto Error in db_connect (functions-db.php [64]) The exact syntax I'm using is this: define('ZENFOLDER', 'zp-core'); I've already checked the config file for zenphoto and I know the information is correct. Plus, the installation of zenphoto works fine on its own. For what it's worth, I'm attempting to run the include on a wordpress site. Both the wordpress site and zenphoto site are in the same database. Anyone know what's going on here? Zenphoto as a Plugin hack database error - sbillard - 2008-07-09 Have you tried this outside of the wordprss site? Just want to know if it is a generic problem or an interaction with wordpress. Zenphoto as a Plugin hack database error - bpetruzzo - 2008-07-09 Well, I wasn't able to get it to work precisely, but it did do better outside wordpress. So I guess either way, wordpress is somehow causing problems. |