Page 1 of 1

Xataface 2.0 - stripslashes_array error

PostPosted: Sat Nov 03, 2012 10:09 am
by tonyvenneri
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?

Re: Xataface 2.0 - stripslashes_array error

PostPosted: Sat Nov 03, 2012 10:34 am
by shannah
What version of php?

Also strange that it is reporting two different base paths (winemanager and winemanager2)

Re: Xataface 2.0 - stripslashes_array error - SOLVED

PostPosted: Sat Nov 03, 2012 11:34 am
by tonyvenneri
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