niejestemmiszczu / kissabe

Automatically exported from code.google.com/p/kissabe
0 stars 0 forks source link

is there any documentation on how to install? #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I download v2.1, but I didn't see any installation instructions or a readme 
file.

I fumbled through by uploading the file and importing the kissa_v1.sql 
file, but I'm getting errors and I'm not sure if I'm missing a step.

The error I'm getting is:

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or 
T_FUNCTION or T_VAR or '}' in 
/nfs/c04/h01/mnt/61354/domains/example.com/html/adodb/adodb.inc.php on line 
430

I'm on mediatemple PHP 5.2.6-1 MySQL 5.1.26 Apache 2.0.54

Original issue reported on code.google.com by rodn...@gmail.com on 1 Apr 2009 at 11:32

GoogleCodeExporter commented 8 years ago
I was also wondering about the installation guide... if there is, it would be 
awesome.

Original comment by sayhi2c...@gmail.com on 8 Apr 2009 at 1:17

GoogleCodeExporter commented 8 years ago
Hi, I am also having difficulties working out how to install this. Is it even 
possible for a sample working config file to be posted so that people can 
follow 
that?

Original comment by stu.frew@gmail.com on 15 Apr 2009 at 3:31

GoogleCodeExporter commented 8 years ago
This is just what I've been looking for - so any hints on installing would be 
great! For now I'll see if I can stumble 
through it. If it works, I'll post my method here.

Original comment by tomgos...@gmail.com on 16 Apr 2009 at 1:39

GoogleCodeExporter commented 8 years ago
I appear to have it up and running on Dreamhost (php5 / MySQL 5) :-)

Upload all of the files to where you want it installed (e.g. the root of your 
domain name).

Create a new MySQL database called "kissa"

Import kissa.sql to your kissa database using the command line or phpMyAdmin 
(don't use kissa_v1.sql)

Edit config.php and change the MySQL string with your database username and 
password. Make sure the path  
to your database is correct (if it's not localhost).

Then edit create.php at line 30 or where is says
$short_url = "http://kissa.be/$code";
to read
$short_url = "http://yourdomian.com/$code";

Then rename htaccess.example to just .htaccess

And it should work. I'm not an expert here, so if it doesn't work for you this 
way, I'm not sure I'll be able to 
help!

My thanks to hasanozgan for creating this script!

Original comment by tomgos...@gmail.com on 16 Apr 2009 at 2:05

GoogleCodeExporter commented 8 years ago
Is that the only line you edited in config.php? I'm getting use of undefined 
constant 
errors on lines 9,11 & 59

Original comment by stu.frew@gmail.com on 16 Apr 2009 at 8:34

GoogleCodeExporter commented 8 years ago
That's the only line I edited in config.php - sorry. Did you edit create.php? 
Have you created the .htaccess file?

Original comment by tomgos...@gmail.com on 16 Apr 2009 at 8:45

GoogleCodeExporter commented 8 years ago
Thanks for sharing your finding tomgoskar!

I originally had used the kissa_v1.sql file, and changed it to the kissa.sql 
file as 
you suggested. I also edited both config.php and create.php, but I'm still 
getting 
this error:

"Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or 
T_FUNCTION or T_VAR or '}' in 
/nfs/c04/h01/mnt/61354/domains/example.com/html/adodb/adodb.inc.php on line 430

Any ideas what could be causing this error?

Original comment by rodn...@gmail.com on 16 Apr 2009 at 8:59

GoogleCodeExporter commented 8 years ago
When I try this I get an error while trying to import the SQL file..

SQL-query:

--
-- Database: `kissa`
--
-- --------------------------------------------------------
--
-- Table structure for table `blacklist`
--
CREATE TABLE IF NOT EXISTS `blacklist` (
`domain` varchar( 256 ) NOT NULL ,
PRIMARY KEY ( `domain` )
) ENGINE = InnoDB DEFAULT CHARSET = latin1

MySQL retourneerde: Documentatie
#1170 - BLOB/TEXT column 'domain' used in key specification without a key 
length 

Original comment by barendde...@gmail.com on 17 Apr 2009 at 1:03

GoogleCodeExporter commented 8 years ago
edit adodb.inc.php
find : 

var $dataProvider = 'native';
    var $databaseType = '';     /// RDBMS currently in use, eg. odbc, mysql, mssql                  
    var $database = '';         /// Name of database to be used.    
    var $host = '';             /// The hostname of the database server 
    var $user = '';             /// The username which is used to connect to the database server. 
    var $password = ''; 

and replace your info.

and 

Then edit create.php at line 30 or where is says
$short_url = "http://kissa.be/$code";
to read
$short_url = "http://yourdomian.com/$code";

and 

Then edit api.php at line 30 or where is says
$short_url = "http://kissa.be/$code";
to read
$short_url = "http://yourdomian.com/$code";

rename example.htaccess to .htaccess

then working fine

demo : http://sx4.biz

Original comment by utan...@gmail.com on 18 Apr 2009 at 4:59

GoogleCodeExporter commented 8 years ago
verry good !

Original comment by ngoclanb...@gmail.com on 19 Apr 2009 at 9:00

GoogleCodeExporter commented 8 years ago
Thank you so much for sharing this

Original comment by sayhi2c...@gmail.com on 20 Apr 2009 at 2:58

GoogleCodeExporter commented 8 years ago
Thanks for sharing the info.

I'm having some sort of problem with the gettext.inc, here are the errors:-

Warning: setlocale() [function.setlocale]: Passing locale category name as 
string is 
deprecated. Use the LC_* -constants instead in 
E:\domains\0\01563.com\user\htdocs\php-gettext\gettext.inc on line 130

Warning: setlocale() [function.setlocale]: Invalid locale category name 
LC_MESSAGES, 
must be one of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, or 
LC_TIME in 
E:\domains\0\01563.com\user\htdocs\php-gettext\gettext.inc on line 130

Here is the part of the code:-

     $ret = 0;
        if (function_exists('setlocale')) // I don't know if this ever happens ;)
           $ret = setlocale($category, $locale);

it's really frusting to say the least ;/

Original comment by stu.frew@gmail.com on 20 Apr 2009 at 1:34

GoogleCodeExporter commented 8 years ago
To update my own problem;
With the import of the SQL file I had a problem.

I Fixed it with the following edit:

CREATE TABLE IF NOT EXISTS `blacklist` (
  `domain` varchar(255) NOT NULL,
  PRIMARY KEY  (`domain`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

I changed the varchar(256) to varchar(255). And now it works.. :)

Original comment by barendde...@gmail.com on 20 Apr 2009 at 2:07

GoogleCodeExporter commented 8 years ago
rest everything works as a charm for me at http://55c.cc but i cannot see the 
image
thing working. I have CHMOD 777 to images directory and images are being 
uploaded but
the url created is not showing up the images.

Original comment by iankit...@gmail.com on 20 Apr 2009 at 5:03

GoogleCodeExporter commented 8 years ago
If images doesn't display change line 26 on imagehandler.php and remove the word
upload from line.
    $file_path = dirname(__FILE__)."/images/uploads/$filename";
to
    $file_path = dirname(__FILE__)."/images/$filename";

Original comment by ahi...@gmail.com on 3 May 2009 at 11:45

GoogleCodeExporter commented 8 years ago
all the comments in here all helped. Thank you to all!

Original comment by amit...@gmail.com on 8 May 2009 at 7:40

GoogleCodeExporter commented 8 years ago

Original comment by hasanoz...@gmail.com on 15 May 2009 at 7:45

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
To #12:
Add the line: if (!defined('LC_MESSAGES')) define('LC_MESSAGES', 5);
to the top of functions.php

Original comment by alfonso....@gmail.com on 23 Jun 2009 at 12:48

GoogleCodeExporter commented 8 years ago
Fatal error: Call to a member function GetRow() on a non-object in
/home/royalhor/public_html/kissabe/functions.php on line 141

I don't know what is causing this.. 

Original comment by Frootboo...@gmail.com on 6 Jul 2009 at 9:24

GoogleCodeExporter commented 8 years ago
...thanks to that thread, i had the v2.1 up & running! ;) #installdoc

had many troubles on v3.0 so i downgraded, but missing the custom URL and the
wellstructured tree as of v3.0. 

my shared hosting have to be defined, this folder has to be PHP5 interpreted, 
but
watchout, as you do this, you probably overwrite the .htaccess!
first enable PHP5, copy the AddHandler & paste into the sample.htaccess, then 
rename
to .htaccess! #FYI

Original comment by knowledb...@gmail.com on 23 Jul 2009 at 6:36

GoogleCodeExporter commented 8 years ago
...Ooops, just yet tested, the imageupload will not work, even when i CHMOD 777
/images and done the comment 15 change! #FYI

how does a working PHP.ini looks alike?
which settings are important?
i use the standard settings from my hoster, did not wrote an own file...

Original comment by knowledb...@gmail.com on 23 Jul 2009 at 10:48

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
its cuz there isnt one DAN

Original comment by iPhoneza...@gmail.com on 23 Jul 2009 at 9:51

GoogleCodeExporter commented 8 years ago
I am getting this :: The requested URL /linkshrink/get.php was not found on 
this server.

after getting this I edited the get.php to to include my site name not the 
kissa.be
and am still getting the error. 

any ideas? 

Original comment by Daniel.J...@gmail.com on 23 Jul 2009 at 11:00

GoogleCodeExporter commented 8 years ago
If you are getting those ADODB errors about static functions, it's probably due 
to
your serverparsing the scripts as PHP4 in stead of PHP 5... to fix this, add 
this
line to your .htaccess file: AddType x-mapp-php5 .php

That will ensure that .php files are treated as PHP5.

Of course this requires that your server has both php4 and php5 installed on it.

Original comment by chadudell on 14 Aug 2009 at 5:58

GoogleCodeExporter commented 8 years ago
can u tell me which Directory i need to copy to my server ?

Original comment by varoo...@gmail.com on 24 Aug 2009 at 7:24

GoogleCodeExporter commented 8 years ago
I've been working with this script for the last few hours, I'm sad to say it 
has 
promise and all, but seriously, how the hell do you install any of these 
scripts? 

I'm moving on to something else. 

Original comment by rya.mal...@gmail.com on 3 Oct 2009 at 10:08

GoogleCodeExporter commented 8 years ago
I'm getting this error:

Fatal error: Call to a member function GetRow() on a non-object in
/home/altroboa/public_html/ShortURL/functions.php on line 141

Original comment by austinjf...@gmail.com on 23 Oct 2009 at 12:16

GoogleCodeExporter commented 8 years ago
I can't believe I started this thread over 6 months ago :)

I finally gave up on kissabe.  

I found another URL shortener script that's easier to install and has some nice 
features at http://www.yourls.org

Original comment by rodn...@gmail.com on 23 Oct 2009 at 3:45

GoogleCodeExporter commented 8 years ago
You need to use the Joy Framework which can be found here:

http://joy.netology.org/doku.php

Original comment by traj...@gmail.com on 28 Oct 2009 at 1:35

GoogleCodeExporter commented 8 years ago
I'm thinking about yourls aswell.... just want a good login process....

Original comment by fiveseco...@gmail.com on 3 Dec 2009 at 8:14

GoogleCodeExporter commented 8 years ago
Fatal error: Call to a member function GetRow() on a non-object in 
/home/****username****/public_html/download/functions.php on line 141 

what to do

Original comment by debkan...@gmail.com on 26 Feb 2010 at 7:04

GoogleCodeExporter commented 8 years ago
A lot of people are getting the line 141 error, including me. Can't anyone help 
us with this?

Original comment by omaelswo...@gmail.com on 5 Jun 2010 at 7:29

GoogleCodeExporter commented 8 years ago
Im getting that joy thing from here, since the old link is dead..
http://github.com/netology/joy

I want to see this thing work!

Original comment by i...@investall.info on 5 Oct 2010 at 3:51