FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installation Problem
#1
I have downloaded the newest revision of the install packages and uploaded to my server. When I go to the install directory nothing happens. I get a blank screen, no errors or anything.

Can you help me out. I really liked FT1 and want to use this new version.

Zack
Reply
#2
Hi Zack,

Interesting. I'd start by re-uploading the files, just in case they got corrupted en route.

If it's still broken after re-uploading, we'll need to do a bit of debugging. Do you program at all? If not, no worries - just wanted to know...! :-)

- Ben
Reply
#3
Zack; this typically happens when you haven't set the correct permissions on the themes/default/cache folder. the cache folder under default themes need to have 777 permissions. Try that. the upload folder must also have full 777 permissions, however this will not stop you from installation... just from uploading files in your forms.

Hope that helps.
Reply
#4
(Jun 4th, 2009, 6:41 AM)mizison Wrote: Zack; this typically happens when you haven't set the correct permissions on the themes/default/cache folder. the cache folder under default themes need to have 777 permissions. Try that. the upload folder must also have full 777 permissions, however this will not stop you from installation... just from uploading files in your forms.

Hope that helps.

I have re-uploaded everything and am now changing the permissions. I thought I had already changed them but it looks like my server is allowing me to change the permission thru the FTP program. I am getting that fixed and will see if it works. I will keep you posted.
Reply
#5
Ok so I fixed the problem with the blank screen. I had to upload everything in Binary mode and change the permissions folder.

So now I have another problem. MySQL says that my version is 3.23.42 but in reality my version is 4.1.20. I have contacted my hosting company to see what they can fix but does anyone have an idea as to why the FT ir reporting a different version than what is actually there??


Zack
Update -
I have to check a different server for mySQL version. Where in the code do I tell it to check so that I can get past the check version screen?

I do have version 4.1.2.

Help me out so that I can get this thing up and running. I have used FT 1 for at least a year and loved it. I needed a few more options that FT2 has and really want to upgrade.

Thanks
Zack
Reply
#6
Hi Zack,

That's odd! If your hosting company is adamant that its running MySQL 4 then the PHP configuration is mostly likely at fault. Form Tools calls the built-in PHP mysql_get_client_info function to retrieve information about the database. So PHP thinks you're running MySQL 3.

Maybe pass this information along to them - that may help them with debugging.

The other thing is that you might want to double check which database you're connecting to. I run multiple databases with different versions, and at times I enter in the wrong info. It's probably not this, but worth double-checking!

mizison - thanks for the tip about the permissions! I didn't know it gave a blank page. I'm going to log this as a bug.

- Ben
Reply
#7
(Jun 6th, 2009, 8:10 AM)Ben Wrote: Hi Zack,

That's odd! If your hosting company is adamant that its running MySQL 4 then the PHP configuration is mostly likely at fault. Form Tools calls the built-in PHP mysql_get_client_info function to retrieve information about the database. So PHP thinks you're running MySQL 3.

Maybe pass this information along to them - that may help them with debugging.

The other thing is that you might want to double check which database you're connecting to. I run multiple databases with different versions, and at times I enter in the wrong info. It's probably not this, but worth double-checking!

mizison - thanks for the tip about the permissions! I didn't know it gave a blank page. I'm going to log this as a bug.

- Ben
Ben
They tell me that it is not there problem. I need to know where to enter the correct server information so that it can. I know that I am running MySQL4 since my forum has the correct version in it as wel. it is running on the same server. So what I need to know how to do now is to tell it which server to check for MySQL. Is there a place in the code to tell it this?

The other form tools had a config file to put the info in but I don't even get to this step now. Is there a way to force install it?
Reply
#8
??? Stranger and stranger.

Check out /install/step2.php. That contains the following chunk of code:

PHP Code:
// 2. MySQL version (4 or later)
$valid_mysql_version false;
if (
substr(mysql_get_client_info(), 01) >= 4)
  
$valid_mysql_version true

Very basic: it just checks the first character of the MySQL version, as reported by PHP. It's possible there's a bug here, but this is the first time its cropped up for FT (and I've been using this code for > 5 years!)

What I'd suggest is adding this line right underneath:

echo "VERSION: " . mysql_get_client_info();

Then go to step2 of your installation script. You should see the version number (as PHP sees it). Mind posting that back here?

The installation script is kind of necessary, so let's try the above before any more extreme solutions.

- Ben
Reply
#9
(Jun 9th, 2009, 10:58 AM)Ben Wrote: ??? Stranger and stranger.

Check out /install/step2.php. That contains the following chunk of code:

PHP Code:
// 2. MySQL version (4 or later)
$valid_mysql_version false;
if (
substr(mysql_get_client_info(), 01) >= 4)
  
$valid_mysql_version true

Very basic: it just checks the first character of the MySQL version, as reported by PHP. It's possible there's a bug here, but this is the first time its cropped up for FT (and I've been using this code for > 5 years!)

What I'd suggest is adding this line right underneath:

echo "VERSION: " . mysql_get_client_info();

Then go to step2 of your installation script. You should see the version number (as PHP sees it). Mind posting that back here?

The installation script is kind of necessary, so let's try the above before any more extreme solutions.

- Ben

Have there been any updates on this? I have experienced an identical problem and followed the above steps to correct what was happening. However, I've now reached the point where the script is reporting the incorrect version of the mySQL. I am using readyhosting and they have version 4.1.22 Form Tools 1 worked fine.

The step 2 installation script is reporting 3.23.49 and I cannot proceed..

Any advice would be great. Thanks!
Reply
#10
Exclamation 
Quote:Have there been any updates on this? I have experienced an identical problem and followed the above steps to correct what was happening. However, I've now reached the point where the script is reporting the incorrect version of the mySQL. I am using readyhosting and they have version 4.1.22 Form Tools 1 worked fine.

The step 2 installation script is reporting 3.23.49 and I cannot proceed..

Any advice would be great. Thanks!

Got my hosting company to take care of the issue reporting the wrong MySQL version.. Went through all of setup and got to the finish only to discover some errors and I could not get into the login screen?

I wonder why I'm having so many troubles. Help would be greatly appreciated, Thanks!
Any ideas? - I've attached a screen shot.


Attached Files
.doc   FTWarning.doc (Size: 118 KB / Downloads: 3)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)