STEP 4 of INSTALLER wont test FTP Connection, no error mg

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

STEP 4 of INSTALLER wont test FTP Connection, no error mg

Postby jprieto » Mon May 24, 2010 1:43 pm

Hi - looks like Im gonna like this valuable software - i aim to learn it and help other do the same - looks like what i have been looking for.

I am following along the INTRO screencast

i uploaded and extracted the zip file for xataface 124 - then rename the created directory to xataface

then i went to xyz.com/xataface/installer.php

steps 1,2, and 3 seem okay
in STEP 4 I selected INSTALL ON SERVER USING FTP

then i entered localhost, my userid, and password -- but when i click on TEST FTP CONNECTION nothing happens, not even an error message

I also tried entering xyz.com instead of localhost, my mysql id and password

still nothing happens when i click on TEST FTP CONNECTION

please advise
:(

THANKS
jprieto
 
Posts: 9
Joined: Mon May 24, 2010 1:31 pm

Re: STEP 4 of INSTALLER wont test FTP Connection, no error mg

Postby shannah » Mon May 24, 2010 2:03 pm

Can you check to see if there are any javascript errors or server errors in your apache error log? That would help.

On a side note, if you just want to get your app going, you might want to just do the manual install method (see getting started tutorial) as you can get an app up with 4 lines of code and a conf.ini file.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: STEP 4 of INSTALLER wont test FTP Connection, no error mg

Postby jprieto » Mon May 24, 2010 2:09 pm

hi, thanks for fast reply

i tried with the words "localhost"
then i clicked on SUBMIT
and i got these error

Fatal error: Cannot redeclare ftp_connect() in /home/jprieto/public_html/xataface124/install/ftp.api.php on line 6
jprieto
 
Posts: 9
Joined: Mon May 24, 2010 1:31 pm

Re: STEP 4 of INSTALLER wont test FTP Connection, no error mg

Postby shannah » Mon May 24, 2010 2:25 pm

This is very strange. It claims that ftp_connect() is already defined, after it has already declared (via the function_exists()) function that it doesn't exist. Is your server running in safe mode?

If I were you I'd skip to manual install, as I'm at a loss at how this error could possibly occur (i.e. the server is sending inconsistent, mixed signals to Xataface as to whether the ftp functions are already loaded).

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: STEP 4 of INSTALLER wont test FTP Connection, no error mg

Postby jprieto » Mon May 24, 2010 3:42 pm

hi again ....

so i opened ANOTHER account on ANOTHER web host

#1

Do I enter "Localhost" or "xyz.com"
in STEP 4 for the FTP settings?

#2

I tried both ways, and I got this error:

Failed: The directory /home/xyz/public_html/ on the server xyz.com does not exist

and if put "localhost" i get

Failed: The directory /home/xyz/public_html/ on the server localhost does not exist

#3

i purposely entered wrong user id and i get an error,
so it looks like I am entering the right user+password

however ..... it cannot find the public_html directory

:(

any further ideas

forgive me if i am tiring you
but i really like this program
and I'm dying to learn it ... properly
jprieto
 
Posts: 9
Joined: Mon May 24, 2010 1:31 pm

Re: STEP 4 of INSTALLER wont test FTP Connection, no error mg

Postby jprieto » Mon May 24, 2010 3:45 pm

Got It !!!!

when i removed everything prior to "/public_html/"

I got connected

Hurray!!!

However ....

when I clicked on SUBMIT,

I got this NEW ERROR MESSAGE:

Warning: ftp_put() [function.ftp-put]: Can't open that file: No such file or directory in /home/jesuspri/public_html/xataface124/install/FTPExtractor.class.php on line 57
jprieto
 
Posts: 9
Joined: Mon May 24, 2010 1:31 pm

Re: STEP 4 of INSTALLER wont test FTP Connection, no error m

Postby jprieto » Thu Dec 29, 2011 12:17 am

Its been a very long time
but i came back here to give it another try

i saw nobody has explain the reason for the install error still

anyways

i got to step 4 innstaller

as soon as I click on submit, i get these errors

i got my fingers crossed to see if anyone can help me out this time -- at least the developer/s

here i go:
==============================================================

Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/benefit:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/benefit/public_html/website/install/FTPExtractor.class.php on line 55

Warning: file_put_contents() [function.file-put-contents]: Filename cannot be empty in /home/benefit/public_html/website/install/FTPExtractor.class.php on line 56

Warning: ftp_put() [function.ftp-put]: Filename cannot be empty in /home/benefit/public_html/website/install/FTPExtractor.class.php on line 57

Warning: ftp_put() [function.ftp-put]: Filename cannot be empty in /home/benefit/public_html/website/install/FTPExtractor.class.php on line 78

=========================================================

what should i do?
jprieto
 
Posts: 9
Joined: Mon May 24, 2010 1:31 pm

Re: STEP 4 of INSTALLER wont test FTP Connection, no error m

Postby jprieto » Thu Dec 29, 2011 12:28 am

the above error messages were given by the server
however....
xataface gave the following errors too

=============
Error: Failed to put file benefit_benefit/.htaccess

Warning: Invalid argument supplied for foreach() in /home/benefit/public_html/xata/install/archive2app-results.inc.php on line 5
================

wonder if anyone has ever been able to use installer without error
by following the installer steps
jprieto
 
Posts: 9
Joined: Mon May 24, 2010 1:31 pm

Re: STEP 4 of INSTALLER wont test FTP Connection, no error m

Postby shannah » Thu Dec 29, 2011 10:07 am

Your server has open basedir restrictions enabled. This is preventing the script from making temp files. I'm not sure if this restriction will cause problems elsewhere in the framework, but to get around this you'll either need to disable the open basedir restriction - or do a manual install.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: STEP 4 of INSTALLER wont test FTP Connection, no error m

Postby byrdits » Mon Jan 02, 2012 4:30 pm

Sounds like a weird host restriction like he said. I got through the install normally on a VPS provider using a debian OS installation. Good luck!
byrdits
 
Posts: 6
Joined: Sun Jan 01, 2012 4:32 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 14 guests

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