Xataface 2.0 - stripslashes_array error

A place for users and developers of the Xataface to discuss and receive support.

Xataface 2.0 - stripslashes_array error

Postby 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?
tonyvenneri
 
Posts: 10
Joined: Sun Jan 15, 2012 4:13 pm

Re: Xataface 2.0 - stripslashes_array error

Postby 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)
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Xataface 2.0 - stripslashes_array error - SOLVED

Postby 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
tonyvenneri
 
Posts: 10
Joined: Sun Jan 15, 2012 4:13 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 25 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved