Już to poprawiłem ale teraz wyskakuje inny błąd :/
Warning
: include(config
/connect
.php
) [function.include]: failed to open stream
: Permission denied in
/virtual/m
/a
/marcin9
.ugu
.pl
/index
.php on line 2
Warning
: include() [function.include]: Failed opening
'config/connect.php' for inclusion
(include_path
='.:/usr/share/php:/usr/share/pear') in
/virtual/m
/a
/marcin9
.ugu
.pl
/index
.php on line 2
Warning
: mysql_query() [function.mysql
-query
]: Can
't connect to local MySQL server through socket '/var/run
/mysqld
/mysqld
.sock
' (2) in /virtual/m/a/marcin9.ugu.pl/index.php on line 11
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /virtual/m/a/marcin9.ugu.pl/index.php on line 11
Can't connect to local
MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
<?
# phpWebEd v.2.1, 2002/06/03
# Copyright (C) 2001-2002 by Holger Mauermann, <a href="http://www.m-tecs.net" target="_blank">http://www.m-tecs.net</a>
#
# phpWebEd is released under the terms of the GNU Lesser General Public License
# For more information see included license.txt
#
# THIS FILE IS AUTOMATICALLY MODIFIED. YOU SHOULD NOT CHANGE IT BY HAND.
// URL to phpWebEd, for example "http://www.marcin9.ugu.pl/phpwebed"
//Host Name like.."localhost"
$DBSERVER ="mysql1.ugu.pl";
// Database Username like .."root"
$USERNAME = "db674803";
//Database Password
$PASSWORD = "haslo";
//Your Database Name
$DATABASENAME = "db674803";
$SMSUSERNAME = "avenue";
$SMSPASSWORD = "baratto";
$SMSIPPAGE = "http://195.178.62.120/send.asp";
$PRODUCTSPERPAGE = 10;
$PRODUCTSPERPAGE_MYACCOUNT = 5;
$Currency = "€";
$SMSrate = 1.50;
$SMSsendnumber = "1065";
$AllPageTitle = "Welcome To SiteName";
$SITE_URL = "http://www.marcin9.ugu.pl";
$adminemailadd = "info@domain.com";
$ADMIN_MAIN_SITE_NAME="SiteName";
$paypaltoken = "bbXf7LHuZKsAv86nDHROmxMqKKrTefkAaZvELB2MSeizX8C_3zU1mji1oO0";
if($_SESSION["language_name"]=="")
{
$_SESSION["language_name"]="EN";
}
if($_SESSION["language_name"]=="EN")
{
include("language/english.php");
}
elseif($_SESSION["language_name"]=="SP")
{
include("language/spanish.php");
}
else
{
include("language/english.php");
}
?>
W linku jest skrypt
Kod
http://speedy.sh/F7MC2/theperbidskrypt.rar