djsebo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Moving to new hostingI have changed address in database by text editor and WP is running. I still have this error massage below footer and I don’t have good encoding but that’s not a case.
The problem is that when I log in as admin I receive massage – You don’t have privileges to see this site.
How it is possible ?
Forum: Fixing WordPress
In reply to: Moving to new hostingthis is my old file:
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘old_dbname’); // The name of the database
define(‘DB_USER’, ‘old_dbuser’); // Your MySQL username
define(‘DB_PASSWORD’, ‘old_pass’); // …and password
define(‘DB_HOST’, ‘dbserveraddress’); // 99% chance you won’t need to change this value// You can have multiple installations in one database if you give each a unique prefix
$table_prefix = ‘wp2_’; // Only numbers, letters, and underscores please!// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
// to enable German language support.
define (‘WPLANG’, ‘pl_PL’);/* That’s all, stop editing! Happy blogging. */
define(‘ABSPATH’, dirname(__FILE__).’/’);
require_once(ABSPATH.’wp-settings.php’);
?>—
and this is my new one:<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘new_dbname’); // The name of the database
define(‘DB_USER’, ‘new_dbuser’); // Your MySQL username
define(‘DB_PASSWORD’, ‘new_pass’); // …and password
define(‘DB_HOST’, ‘now-it-is-localhost’); // 99% chance you won’t need to change this value// You can have multiple installations in one database if you give each a unique prefix
$table_prefix = ‘wp2_’; // Only numbers, letters, and underscores please!// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
// to enable German language support.
define (‘WPLANG’, ‘pl_PL’);/* That’s all, stop editing! Happy blogging. */
define(‘ABSPATH’, dirname(__FILE__).’/’);
require_once(ABSPATH.’wp-settings.php’);
?>——
This is address to new host with WP:
http://www.grafer.prothost.pl/wordpress/Old one is here:
http://www.grafer.webpages.pl/wordpress/Even address is similar!
Forum: Fixing WordPress
In reply to: Moving to new hostingtamba2 gives nice description but it is still not working for me :]
So what I did:
1. I made copy of database and wordpress folder.
In my case address was hostname.com/wordpress
2. I put wordpress folder on new new host.
In this case adress is newhost.com/wordpress
3. I went to database config and copied all lines from backup file.
4. I’ve changed wp-config.php and gave all rights.
5. I went to see website on new host and what I saw was my website without polish letters and few warning lines as this below:Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../../../../a8e424dc09dae7c05417.txt) is not within the allowed path(s): (/home/site:/home/www:/usr/share/php) in /home/site/14927/www/wordpress/lpa8e424dc09dae7c05417.php on line 57
I believe that I didn’t get polish letters because of wrong encoding in TextEditor which I used to copy database instructions but what the hell is this warning !?
Next thing is that when I go to admin panel I don’t see any tabs!
What is more I have to put login address manually because wp still shows address to my previous host.I tried two different ways:
-with changing address in admin options before I made backup
-and without changing address in admin optionsWell I am out of ideas and totally exhausted.
Please help me.