HOME | DOWNLOAD | SUPPORT | INSTALLATION | FAQ | SUPPORT FORUM | DEMO
 ° Forums ° Statistics ° Registration ° Search ° Manual °
SkaLinks Forum / Technical Support / Problem with installation
Author Message
SvobodaT


Posted: 22 Aug 2006 03:41:04


Hi, I am new to PHP and MySQL. I found SKALINKS so interesting that I am trying to install it (on WIndows2003 server, with IIS webserver).
I am following the Installation instructions but when I try to launch
/skalinks/install/index.php
I get an error message on the 1st line:
Notice: Undefined index: Install in c:\Inetpub\wwwroot\php\skalinks\install\index.php on line 3
Line 3 reads:
if ( !$_POST['Install'] )
Can anyone tell me what this could mean?

Thanks
Tomas

pasado
Member

Posted: 22 Aug 2006 06:51:54


Whats your web url for skalinks SvobodaT
if you entered c:\Inetpub\wwwroot\php\skalinks\ for your $_dir_root
try /Inetpub/wwwroot/php/skalinks/

If you would like help installing skalinks Tomas you can contact me via my helpdesk http://pdocherty.sytes.net/hesk/index.php

SvobodaT
Member

Posted: 22 Aug 2006 08:14:04


Thanks for the advice. I tried it - headers.php now contains:

$_url_main_site = 'http://192.168.202.10/';
$_url_root = 'http://192.168.202.10/php/skalinks/';
$_dir_root = '/Inetpub/wwwroot/php/skalinks/';

However the problem remains. After pushing the INSTALL button I am getting these messages:

Notice: Use of undefined constant fclose - assumed 'fclose' in c:\Inetpub\wwwroot\php\skalinks\install\index.php on line 108

Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\php\skalinks\install\index.php on line 113

Thanks for any help
Tomas

P.S.
The script is reachable at.
http://217.11.245.98/php/skalinks/install/index.php

pasado
Member

Posted: 22 Aug 2006 12:35:19


try moving the skalinks folder to the root directory /Inetpub/wwwroot/skalinks/

SvobodaT
Member

Posted: 22 Aug 2006 21:56:03


I tried ... and it still is the same:

Notice: Undefined index: Install in c:\Inetpub\wwwroot\skalinks\install\index.php on line 3

and a few more like

Notice: Undefined variable: msg in c:\Inetpub\wwwroot\skalinks\install\template.php on line 15

Thanks a lot for your help! I wish I knew what is wrong

Tomas

pasado
Member

Posted: 23 Aug 2006 02:55:05


ok lets start from the beginning...

Do you have mysql installed? if so have you created the database for skalinks? you can call it anything you like.

Import the skalinks_mysql_dump.sql (located in the install directory) into the skalinks database you created.

Upload or move the skalinks directory from c:\Inetpub\wwwroot\php\skalinks\ to c:\Inetpub\wwwroot\skalinks\ remember to delete the skalinks folder from the php directory

Delete the headers.php file then try to install again http://217.11.245.98/skalinks/install/index.php

and use these settings:

$_url_main_site http://217.11.245.98/

$_url_root http://217.11.245.98/skalinks/

$_dir_root /Inetpub/wwwroot/skalinks/

$_page_title pokus (or whatever you want)

$_site_full Nadpis (or whatever you want)

$_site_description Your sites description

$_site_brand Nadpis (or whatever you want)

$_mysql_username your mysql username

$_mysql_userpwd your mysql user password

$_mysql_host localhost

$_mysql_dbname skalinks or whatever you called your database

hope that helps, let me know how you get on.

SvobodaT
Member

Posted: 23 Aug 2006 06:37:30


Thanks a lot, Pasado,
yes, I have proceeded according to the Installation guide and installed MySQL. I made a database called links.

The following may be what I missed:

Import the skalinks_mysql_dump.sql (located in the install directory) into the skalinks database you created.

I did not find this in the guide. Pardon my ignorance: What would be the correct syntax to do the import?
I tried without success (from MySQL Command Line Client) things like
shell> mysql db_name < backup-file.sql
shell> mysql -e "source /path-to-backup/backup-file.sql" db_name

Thanks a lot for your patience
Tomas

pasado
Member

Posted: 23 Aug 2006 10:06:04


I don't know anything about MySQL Command Line Client as I use phpadmin
you can get a copy here http://www.phpmyadmin.net/home_page/index.php
unzip the file and upload everything to /Inetpub/wwwroot/phpadmin/
install instructions here http://www.phpmyadmin.net/documentation/#quick_install

if you already have this or need further help let me know

login intp phpadmin, click on databases and select links then click on import

your login link should look something like this http://localhost/phpmyadmin/

Anonymous


Posted: 24 Aug 2006 05:35:01


Thank you, Pasado, I did everything as you wrote:
I installed phpMyAdmin
(running fine on http://217.11.245.98/phpMyAdmin/index.php)
created the database 'skalinks' and imported the contents
(Funny thing: In the Installation Manual http://www.skalinks.com/inst_manual.php
there is not a single word about importing skalinks_mysql_dump.sql)

However - nothing has changed: When I try to install Skalinks through
http://217.11.245.98/skalinks/install/index.php
I am still getting the same old message:

Notice: Undefined index: Install in c:\Inetpub\wwwroot\skalinks\install\index.php on line 3

when I ignore the notice, fill in the values and push the INSTALL button I get:

Notice: Use of undefined constant fclose - assumed 'fclose' in c:\Inetpub\wwwroot\skalinks\install\index.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at c:\Inetpub\wwwroot\skalinks\install\index.php:108) in c:\Inetpub\wwwroot\skalinks\install\index.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at c:\Inetpub\wwwroot\skalinks\install\index.php:108) in c:\Inetpub\wwwroot\skalinks\install\index.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at c:\Inetpub\wwwroot\skalinks\install\index.php:108) in c:\Inetpub\wwwroot\skalinks\install\index.php on line 229

and when I run Skalinks script itself

I get another set of errors:

Notice: Undefined variable: id in c:\Inetpub\wwwroot\skalinks\index.php on line 24

Notice: Undefined index: page in c:\Inetpub\wwwroot\skalinks\index.php on line 25

Notice: Undefined index: cat_arr in c:\Inetpub\wwwroot\skalinks\index.php on line 26

Notice: Undefined index: link_arr in c:\Inetpub\wwwroot\skalinks\index.php on line 27

Notice: Undefined index: adminname in c:\Inetpub\wwwroot\skalinks\SkaLinks_include\SkaLinks.class.php on line 1963

Notice: Undefined index: pwd in c:\Inetpub\wwwroot\skalinks\SkaLinks_include\SkaLinks.class.php on line 1963


Thanks a lot for your support
Tomas

SvobodaT
Member

Posted: 24 Aug 2006 07:56:28


Sorry, my earlier message was marked "Anonymous" probably because I timed out in the forum.
Tomas

SvobodaT
Member

Posted: 24 Aug 2006 14:56:08


I checked some PHP forums and learned that I could ignore the "Notices".
Now how about the "Warnings" ?
Besides that I have the same problem described twice in this forum: Cannot login using the admin/test account.

Can anyone help please?

Tomas

pasado
Member

Posted: 26 Aug 2006 05:49:22


Sorry bud I know nothing about running this on an IIS webserver