简体   繁体   English

在本地服务器上运行Joomla实时站点

[英]Run Joomla live site on local server

I'm trying to run a copy of a joomla site (that works perfectly on the hosting) but, when I put all its files on my directory and install its BD just works administrator site but the site itself keeps in white screen. 我正在尝试运行joomla网站的副本(在主机上完美运行),但是,当我将其所有文件放在目录中并安装其BD时,它只能在管理员站点上运行,但是该站点本身保持白屏。

I update its configuration file (configuration.php) exactly: 我完全更新其配置文件(configuration.php):

-DB -D B

  • User 用户
  • Password 密码
  • Host 主办
  • DB & DB prefix no changes needed 数据库和数据库前缀无需更改

-Logs -logs

  • log_path = 'C:\\wamp\\www\\sitename\\logs' log_path ='C:\\ wamp \\ www \\ sitename \\ logs'
  • tmp_path = 'C:\\wamp\\www\\sitename\\tmp'; tmp_path ='C:\\ wamp \\ www \\ sitename \\ tmp';

I don't know what to do, I don't understand (I'm new with Joomla) 我不知道该怎么办,我不了解(我是Joomla的新手)

Joomla version: 3.5.1 PHP: 7.0 Joomla版本: 3.5.1 PHP: 7.0

A white screen usually is a sign of a server error of any kind. 白屏通常表示任何类型的服务器错误。 A first step to identify the underlying problem is to enable the debug mode and set the error reporting to development. 识别潜在问题的第一步是启用调试模式并将错误报告设置为开发。 You should then get an error message instead of the white screen. 然后,您应该收到一条错误消息,而不是白屏。

In general, it is a good idea to use a tool like Akeeba Backup to transfer sites. 通常,最好使用Akeeba Backup之类的工具来传输站点。 It takes care of some environmental differences between the production server and localhost. 它照顾了生产服务器和本地主机之间的一些环境差异。 You can even utilise another database management system. 您甚至可以利用另一个数据库管理系统。

Its not much complicated.. As you said you have already configure DB, Prefix, Host and Password. 它并不复杂。正如您所说,您已经配置了数据库,前缀,主机和密码。

So verify it again and suggest to check your localhost PHP version and online PHP version. 因此,请再次进行验证,并建议检查您的localhost PHP版本和在线PHP版本。 Its create problem if your PHP version and live PHP version are different. 如果您的PHP版本和实时PHP版本不同,则会产生问题。

And make sure the PHP libraries you used on live site, these all need to install on your local PC too. 并确保您在实时站点上使用过的PHP库,这些库也都需要安装在本地PC上。

and make error_reporting maximun to check exact error and tell me error you get. 并让error_reporting maximun检查确切的错误并告诉我您得到的错误。

Please do this and if still you have issue than please wirte comment me, we will find more about your issue. 请执行此操作,如果仍然有问题,请比我发表评论,我们会找到有关您的问题的更多信息。

Thank You. 谢谢。

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

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