frommessage
eugene
1256 days ago
i've uploaded the files, created the db and tables.
trying to add a project or load the test ptoject, it hangs on 'loading'.

maybe its having a problem accessing my database...
eugene
1256 days ago
disregard. dont know why, but it works now.
anthony
1256 days ago
I'm having the same problem. In the javascript console, it has a syntax error on line 162 of sproutliner.js -- looks like it's trying to evaluate "".

All of the .php files are chmod +x, and php is working fine, so I'm not sure what I've missed.
anthony
1256 days ago
sorry, that evaluate should have open-anglebracket br slash close-anglebracket, ie. a line break in xhtml
pax
1252 days ago
would be anyone so kind as to post some simple install instructions?
what I did:
1. unzip / copy files to server
2. create table 'sprout' - grant acces for mysql user
3. execute query: 'db.sql'
4. edit 'x.php' with my MySql db / user / pass

still i get this: http://www.chefdemunca.ro/sprout/sproutliner.php
I'm little bit lost
pax
1252 days ago
I figured out - the links to css and js files pointed to the ww root - changed that and now I'm stuck in the 'loading...' point - has anybody figured out where/what is the problem?
anthony
1249 days ago
I managed to get my installation working - the problem was that my MySQL installation was a bit skew-whiff. Reinstalling and removing an extra version under /usr/local/mysql solved my problems.

I also took the hardcoded stuff out of the javascript files and chmodded the php files. I think that was it... Going to x.php instead of sproutliner.php gave me a lot more meaningful errors, too.

Here are the commands that I used to set up the database, just in case they help someone:
mysqladmin -u root --password create sprout
mysql -u root --password -e "grant all privileges on sprout.* to 'anthony'@'localhost'"
mysqladmin -u anthony password '******'
mysql -u anthony --password sprout

At this point you should be logged into the sprout db, but nothing's set up. To set up, do:
cd /var/www/res #I put the whole thing in the root of my server
mysql -u anthony --password sprout < db.sql

And you should be good to go...

Hope that helps,

Anthony
pax
1248 days ago
I have installed in the root folder and it all works ok.
It seemes that I have missed a path on my previus intall
khaled
1243 days ago
Could someone point me to where an easier method of installation can be set up? I'm confused as to what files I need to modify in order to actually get this thing up and running. Thanks.
Eater
1229 days ago
I had to remove the leading slash from all the URL references in all the files: e.g., change href="/sproutliner.js" to href="sproutliner.js" before anything would work.
Jaline
1151 days ago
I did pretty much everything that I'm supposed to do, but I still get that 'loading' thing. Any help? Please...
nus
1111 days ago
Hi,
I have the same problem... I still get the "loading..." message.

PAX > you have written :
"2. create table 'sprout' - grant acces for mysql user"
can you tell me how create a table 'sprout'?
I don't manage with MySQL...

Thanks !
bernd
1108 days ago
In sroutliner.js there is a reference to x.php (which does all the mysl stuff) and that refers to /x.php
so go through that file as well and look for /i and /x
and get rid of the / (so they point to the local directory, not to the server root)
That got me past the loading screen
I could enter something and got another page displayed.
I will report back how it went
bernd
1108 days ago
the file db.sql in the res directory contains all the sql you need.
Just run that file (that is what the
mysql -u anthony --password sprout < db.sql
was or on the mysql commandline prompt do
\. db.sql

That creates all the tables you need

Works quite nice.
nus
1104 days ago
bernd, I have done all your commands, but i still get the loading message.. :/
Jaline
1101 days ago
yeah, I've tried almost everything suggested here and it still doesn't seem to be working. Maybe someone can send me (jaline@gmail.com) their modified files and I'll just keep the tables and everything else in tact...that would be cool.
Jason
1027 days ago
Ok. Just got it working.

1. Remove any "/" from "/x" or "/i" in sproutliner.php, x.php and sproutliner.js
2. don't forget to use db.sql to create the tables and example data
3. rename sprouliner.php to index.php if you want

Everything should be ok.

By the way, Glen, you are a legend.

Raavin ;)

"Melbourne rulz"
cebea
975 days ago
still "loading"
:-(
Trajan
974 days ago
nothing working here either.
Trajan
974 days ago
It seems that everything installs correctly in IE... wierd though. I get a bunch of errors for the JS in firefox JS console.
webman
924 days ago
Here is what I did for it to work.

At about line 119 of sprouteliner.js I had this (After DATA TRANSFER comment, before xmlobj() function):

if (typeof XMLHttpRequest != "object") {
function XMLHttpRequest() {
return new ActiveXObject("Microsoft.XMLHTTP");
}
}

I commented it out and added in its place the JS code from the online version:

if (document.all && !document.opera) {
function XMLHttpRequest() {
return new ActiveXObject("Microsoft.XMLHTTP");
}
}

Hope it helps.
Sin
890 days ago
I found that if I replaced the mysqlconnect function in x.php:

set_time_limit(5);
mysql_connect("localhost","nobody","");
mysql_select_db("sprout");

With:

set_time_limit(5);
mysql_connect ("localhost", "username", "password") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("databasename");

It solved my problem as well as giving me some information when it pukes :D

-Lee

sinisfunATgmailDOT com
lfaber
878 days ago
Hmmm - Well it looks all so good on the site. But installing it on a webhost is a "pig". After having read through the posts on this site I must conclude that although the app is promising, implementation is daunting if you do not have PHP or Javascript expertise. It would be oh so nice if there were clear instructions for installing on a typical host that runs PHP and MYSQL. I would even write up an "idiot's guide" if I could only get this puppy to work!

Glenn you have done a great job here. Don't let this great app fall by the wayside becuse of poor documentation.

HELP!!!!!

Les :-(
brownie
848 days ago
My quick instructions for getting Sproutliner to work (tested in a LAMP (Linux/Apache/MySQL/Php) environment):

1. Unzip the .zip file into a directory on your web server.
2. Create or choose a database to use in MySQL (to create a database, see MySQL site or use PHPMyAdmin or some other front-end).
3. From the MySQL prompt, using the given database, execute the "res/db.sql" file ("source res/db.sql") to create the tables and a sample project called "test project"
4. Make the following edits to x.php
4.1. Change the "mysql_connect(..." line to something like mysql_connect ("host", "username", "password"), using the appropriate host name, user and password.
4.2. Change the "mysql_select_db(..." line to reflect the database you created/chose in 2.
5. Point your browser to /sproutliner.php, type "test project" (without the quotes) in the "Enter here" box.
brownie
848 days ago
4.3 You may also have to make the change to sproutliner.js that webman mentioned above.
blackdaemon
716 days ago
I just found that if you have "Open tags" disabled in your PHP installation (this may be the case for some web hostings), *.php files in sproutliner will not work. Just edit sproutliner.php and x.php and change all occurences of
blackdaemon
716 days ago
...all occurences of < with <php

This helped on my installation
blackdaemon
716 days ago
uuuuh, sorry folks... ;-)

again:

replace all <? with <?php

 

You must be logged in to post. You may create an account by typing your desired username and password into the login area to the left.