Hi Jacobo:
I bet you're quite frustrated right now.... hold on, it's really worth it....
I ran into some problems myself, some looked a bit like yours, so I'll try to help you.
First of all, when I unzipped my .tar file, I got the OK from my server, but it hadn«t unzipped ALL the files correctly, and I was getting specifically the error:
Warning: import(SQL/Parser/wrapper.php) [function.import]: failed to open stream: No such file or directory in /home/cfpastat/public_html/df/config.inc.php on line 213
It's pretty much what you're getting. Worth checking.
It was just that the wrapper.php file wasn«t there due to the uncomplete unzip procedure. I had repeated the unzipped and it failed again. So I unzipped in my PC and manually uploaded what had failed... A pain in the neck, but at the end I made sure that I had all the files. Besides, many times it's a lot easier to work with file at the PC level and if needed upload to the server.
Another thing: That URL you have set "...museotamayo_org_-_prueba/index.php" I would get rid of the "-". From my DOS times, some special characters sometimes don«t work.
Another thing to check:
You have to fix the index.php definitions. You have doubled somehow the URL /home/virtual/site18/fst/var/www/html/dataface:
(include_path='.:/home/virtual/site18/fst/var/www/html/dataface:/home/virtual/site18/fst/var/www/html/dataface/lib:/php/includes:/usr/share/php') in /home/virtual/site18/fst/var/www/html/dataface/config.inc.php on line 223
At some point you had:
require_once '/var/www/html/php/dataface/dataface-public-api.php';
df_init(__FILE__, '
http://www.museotamayo.org/php/dataface/');
Dataface will add
http://www.museotamayo.org/php/dataface/ (from df_init) and /var/www/html/php/dataface/dataface-public-api.php (from require once) and that doubles it, since
http://www.museotamayo.org is the same as /var/www/html
I would set my index.php something like this:
require_once '../dataface-public-api.php';
df_init(__FILE__, '
http://museotamayo.org/df');
and then have the following directory structure:
..my path to dataface../df --> this is where the dataface-public-api.php and config.inc.php files should be.
..my path to dataface../df --> this is where all the Dataface folders should be (Dataface, HTML, SQL, ...)
..my path to dataface../df --> you should create your application folder (/pruebas)
..my path to dataface../df/pruebas --> here you should have your index.php, conf.ini, files and your folders.
That way I access my application on internet through
http://museotamayo.org/df/pruebas/index.php Finally, yes there are a few things you should check with your hosting...
Make sure of the versions running in your server,
Requirements
* PHP >= 4.3
* MySQL >= 3.2.3
from Dataface Documentation
http://framework.weblite.ca/documentation/tutorial/getting_started/introductionthat is something I fell into too, and I had to change hostings, which by the way was easy and save me a few bucks.
Makesure your site has "register_globals=On"
And there is another thing, that you've probably done allready following Dataface's installation manual which is to verify the permissions: CHMODing the indicated folder (Although I'm quite sure that wouldn't be the issue right now)
Hope this helps Jacobo...
FB