Xataface 2.0 - stripslashes_array error
Archived from the Xataface Users forum.
tonyvenneri — Sat Nov 03, 2012 10:09 am
Hello,
I’ve installed the new version on xataface on server.
This is the error I catch:
- Code: Select all
Fatal error: Cannot redeclare stripslashes_array() (previously declared in /home/lacompag/public_html/winemanager/config.inc.php:45) in /home/lacompag/public_html/winemanager2/config.inc.php on line 56
Any idea?
shannah — Sat Nov 03, 2012 10:34 am
What version of php?
Also strange that it is reporting two different base paths (winemanager and winemanager2)
tonyvenneri — Sat Nov 03, 2012 11:34 am
In effect I made a mistake in index.php file using two different path:
- Code: Select all
$filename = __ROOT__.'/[b]winemanager[/b]/dataface-public-api.php'; require_once ($filename); // include the initialization file df_init(__FILE__, 'http://[b]winemanager2[/b].lacompagniadelcalice.it');
After alignment the application works.
Thanks