简体   繁体   English

如何移动Joomla 1.5?

[英]How to move Joomla 1.5?

I've read a lot on the internet about how to move Joomla. 我已经在互联网上阅读了很多有关如何移动Joomla的信息。 So, confident in myself, I've moved this old joomla 1.5 website to another machine. 因此,对自己充满信心,我将这个旧的joomla 1.5网站移到了另一台机器上。

I've copied files and database (data and user) as it were in the old machine on the new. 我已复制文件和数据库(数据和用户),就像在旧计算机上一样。 Same folder name, same apache2 configuration, same .htaccess, same database configuration, name and data, same operative system, same php version... 相同的文件夹名称,相同的apache2配置,相同的.htaccess,相同的数据库配置,名称和数据,相同的操作系统,相同的php版本...

Unfortunately, any page I'm trying to visit return a "404 component not found error" like it cannot find the page. 不幸的是,我尝试访问的任何页面都会返回“ 404组件未找到错误”,就像找不到该页面一样。

I cannot get what is happening. 我不知道发生了什么事。 Mooving Joomla requires particular attentions, after copying files and database? 复制文件和数据库后,Mooving Joomla需要特别注意吗?

You have to change in configuration.php file the path of log and tmp directory, It's hard for you to have the same path in a different machine. 您必须在configuration.php文件中更改log和tmp目录的路径,很难在其他计算机上使用相同的路径。 In the log file there are more details? 在日志文件中还有更多详细信息? Type what component. 输入什么成分。

Some things to check when a moved Joomla website is not working as expected: 当移动的Joomla网站无法按预期工作时,需要检查一些事项:

  • the .htaccess file (in particular, check the RewriteBase / , Options +FollowSymLinks lines or any non-standard lines - compare with htaccess.txt for the default settings) .htaccess文件(特别是,检查RewriteBase /Options +FollowSymLinks行或任何非标准行-与htaccess.txt比较以获取默认设置)
  • the configuration.php file, check tmp and logs paths are correct, try setting $live_site = ''; configuration.php文件,检查tmp和日志路径是否正确,尝试设置$live_site = ''; if it's not already 如果还没有
  • check for any php.ini files in the root folder and also in the /administrator folder - php.ini files are often not needed any more as you can configure PHP settings via cPanel or similar 检查根文件夹和/ administrator文件夹中是否有任何php.ini文件-通常不再需要php.ini文件,因为您可以通过cPanel或类似的东西配置PHP设置
  • try disabling URL Rewriting in Global Configuration 尝试在全局配置中禁用URL重写

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM