简体   繁体   English

移动Joomla后出现错误! 网站从本地主机到实时服务器

[英]Errors after moving Joomla! website to live server from localhost

I've got a Joomla! 我有一个Joomla! 2.5 website on my localhost and it's working fine. 2.5在我的本地主机上的网站,并且运行正常。 I need to move it to a live server so I've followed some tutorials on the Internet to make sure everything's fine so I did it like that: 我需要将其移动到实时服务器上,因此我已经在Internet上关注了一些教程,以确保一切正常,所以我这样做是这样的:

  1. export database from localhost to .sql file 将数据库从localhost导出到.sql文件
  2. install clean Joomla! 安装干净的Joomla! 2.5 on server 服务器上的2.5
  3. move all the files and folder from localhost to server (except configuration.php) 将所有文件和文件夹从localhost移至服务器(configuration.php除外)
  4. deleted all tables from server's database and imported database from localhost 从服务器数据库中删除所有表,并从本地主机中导入数据库

After these steps site doesn't load at all giving this error: 完成这些步骤后,网站根本无法加载,并出现以下错误:

Fatal error: Call to a member function get() on a non-object in /home/users/zsrkm/public_html/templates/beez_20/error.php on line 10

http://www.zsrkm.pl/ http://www.zsrkm.pl/

When you enter http://www.zsrkm.pl/administrator there are even more errors. 当您输入http://www.zsrkm.pl/administrator时,还会出现更多错误。 I'm very grateful for any help. 非常感谢您的帮助。 Thanks in advance. 提前致谢。

The easiest way to move a Joomla website is Akeeba Backup and Akeeba Kickstart. 移动Joomla网站最简单的方法是Akeeba Backup和Akeeba Kickstart。

Akeeba Backup backs up the database and the files into one file which makes it easier to move. Akeeba Backup将数据库和文件备份到一个文件中,这使移动变得更容易。 Once you have created the database on the target server, upload kickstart.php and the backup file and then run kickstart.php to recreate the website. 在目标服务器上创建数据库后,请上载kickstart.php和备份文件,然后运行kickstart.php来重新创建网站。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 网站未选择样式。从活动服务器移至localhost后,Joomla网站变形 - Site not picking styles.Joomla Site deformed after moving to localhost from live server 将网站从Windows本地主机移到Linux Live服务器:文件名和路径问题 - Moving website from Windows localhost to Linux live server: issues with filenames and paths 网站从本地主机移至服务器时出现Codeigniter错误 - Codeigniter error on moving the website from localhost to server 从Localhost迁移到Live Server之后的错误-严格的标准和标题信息 - Errors after Migrating from Localhost to Live Server - Strict Standards & Header Info 使用GoDaddy cPanel将Wordpress网站从本地主机移动到实时服务器 - Moving wordpress site from localhost to live server using GoDaddy cPanel 将我的Codeigniter站点从实时服务器移动到本地主机时出现问题 - Problem in moving my Codeigniter site from live server to localhost 将站点从本地主机移动到实时服务器时出现 Wordpress 错误 - Wordpress error while moving site from localhost to live server 将WordPress网站从实时移动到本地主机后出现404错误和重定向 - 404 error and redirect after moving wordpress site from live to localhost 将 WordPress 从 Live 迁移到本地主机 - Moving WordPress from Live to Localhost Wordpress 仪表板:将实时网站移动到本地主机后,“抱歉,您不允许访问此页面” - Wordpress dashboard : "Sorry you are not allowed to access this page" after moving live website to localhost
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM