Hey everyone,
My host has activated PDO for PHP and I'm using zenphoto as a plugin.
The top of my home page reads:
<?php
define('SERVERPATH',str_replace('\\','/',dirname(__FILE__)).'/gallery');
define('WEBPATH','/gallery');
require_once(SERVERPATH.'/zp-core/template-functions.php'); ?>
Which always used to work until the php.ini was changed.
Now, it brings up a 404 but more importantly has this in the URL:
domain.com/zp-core/setup/index.php?autorun=gallery
So it's ignoring the /gallery define.
The gallery itself is working fine. I've tried running setup a few times and refreshing the database, but I can't seem to work out why my home page is getting a 404 and trying to run setup.
Any ideas?