<?php
class JConfig {
public $offline = '0';
public $offline_message = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
public $sitename = 'SPARK';
public $editor = 'tinymce';
public $list_limit = '20';
public $access = '1';
public $debug = '0';
public $debug_lang = '0';
public $dbtype = 'mysql';
public $host = 'u249598.mysql.masterhost.ru';
public $user = 'u249598';
public $password = 'XXXXXXXXX';
public $db = 'u249598';
public $dbprefix = 'jos_';
public $live_site = '';
public $secret = 'XXXXXXXX';
public $gzip = '0';
public $error_reporting = '-1';
public $helpurl = 'http://help.joomla.org/proxy/index.php?option=com_help&keyref=Help16:{keyref}';
public $ftp_host = '127.0.0.1';
public $ftp_port = '21';
public $ftp_user = '';
public $ftp_pass = '';
public $ftp_root = '';
public $ftp_enable = '0';
public $offset = 'UTC';
public $offset_user = 'UTC';
public $mailer = 'mail';
public $mailfrom = 'XXXXXXXXXXXx';
public $fromname = 'www.spark-s.ru';
public $sendmail = '/usr/sbin/sendmail';
public $smtpauth = '0';
public $smtpuser = 'XXXXXXX';
public $smtppass = 'XXXXXXXXX';
public $smtphost = 'localhost';
public $smtpsecure = 'none';
public $smtpport = '25';
public $caching = '0';
public $cache_handler = 'eaccelerator';
public $cachetime = '15';
public $MetaDesc = 'XXXXXXXXXXXXXXXXXXXXXXXXXXX';
public $MetaKeys = 'XXXXXXXXXXXXXXXXXXXXXXXxxxx';
public $MetaAuthor = '1';
public $sef = '1';
public $sef_rewrite = '0';
public $sef_suffix = '1';
public $unicodeslugs = '0';
public $feed_limit = '10';
public $log_path = '/spark-s.ru/www/logs';
public $tmp_path = '/spark-s.ru/www/tmp';
public $lifetime = '15';
public $session_handler = 'database';
public $MetaRights = '';
public $sitename_pagetitles = '0';
public $force_ssl = '0';
public $feed_email = 'author';
public $cookie_domain = '';
public $cookie_path = '';
}
<?php
$path = getcwd();
echo "Il percorso assoluto del mio server è: ";
echo $path;
?>
Salvalo come "path.php" (Senza virgolette)Hai usato un editor giusto spero, come per esempio notepad++ ?
public $log_path = '/home/u249598/spark-s.ru/www/logs';
public $tmp_path = '/home/u249598/spark-s.ru/www/tmp';
<?php
class JConfig {
public $offline = '0';
public $offline_message = XXXXXXXXXXXXXXXXXXX.';
public $sitename = 'SPARK';
public $editor = 'tinymce';
public $list_limit = '100';
public $access = '1';
public $debug = '0';
public $debug_lang = '0';
public $dbtype = 'mysql';
public $host = 'u249598.mysql.masterhost.ru';
public $user = 'u249598';
public $password = 'XXXXXXX;
public $db = 'u249598';
public $dbprefix = 'jos_';
public $live_site = '';
public $secret = 'XXXXXXXXX';
public $gzip = '0';
public $error_reporting = '-1';
public $helpurl = 'http://help.joomla.org/proxy/index.php?option=com_help&keyref=Help16:{keyref}';
public $ftp_host = '127.0.0.1';
public $ftp_port = '21';
public $ftp_user = '';
public $ftp_pass = '';
public $ftp_root = '';
public $ftp_enable = '0';
public $offset = 'UTC';
public $offset_user = 'UTC';
public $mailer = 'mail';
public $mailfrom = 'XXXXXXXXXXXX';
public $fromname = 'www.spark-s.ru';
public $sendmail = '/usr/sbin/sendmail';
public $smtpauth = '0';
public $smtpuser = 'andreamanna';
public $smtppass = 'rinoandrea';
public $smtphost = 'localhost';
public $smtpsecure = 'none';
public $smtpport = '25';
public $caching = '0';
public $cache_handler = 'eaccelerator';
public $cachetime = '15';
public $MetaDesc = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXxx';
public $MetaKeys = 'XXXXXXXXXXXXXXXXx';
public $MetaAuthor = '1';
public $sef = '1';
public $sef_rewrite = '0';
public $sef_suffix = '1';
public $unicodeslugs = '0';
public $feed_limit = '10';
public $log_path = '/home/u249598/spark-s.ru/www/logs';
public $tmp_path = '/home/u249598/spark-s.ru/www/tmp';
public $lifetime = '15';
public $session_handler = 'database';
public $MetaRights = '';
public $sitename_pagetitles = '0';
public $force_ssl = '0';
public $feed_email = 'author';
public $cookie_domain = '';
public $cookie_path = '';
}
ErrorThere seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem
ERROR: Unknown Punctuation String @ 94 STR: ></ SQL: <html> <script type="text/javascript" charset="utf-8" src="http://adv.joomlafree.it/spot.js (http://adv.joomlafree.it/spot.js)"></script> </html>
SQL query:
<html> <script type="text/javascript" charset="utf-8" src="http://adv.joomlafree.it/spot.js (http://adv.joomlafree.it/spot.js)"></script> </html>
MySQL said:#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<html>
<script type="text/javascript" charset="utf-8" src="http://adv.joomlafree (http://adv.joomlafree)' at line 1
[/l][/l]