duanlipeng4136 2011-02-07 18:25
浏览 22
已采纳

无法让Joomla网站在本地工作

I have a cloudaccess site on Joomla. I would like to be able to work on the site locally. I've downloaded the files and the database and am pretty sure I set them up correctly. I'm using xampp and I put the site files into a folder under htdocs. I used phpmyadmin to import the sql file. I made some changes to configuration.php to get it to connect to my database. When I try to visit the site I get this error:

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32 bytes) in C:\xampp\htdocs\mysite\libraries\joomla\error\exception.php on line 117

My php memory_limit is 512MB and for a small few page joomla site, there's no reason that I'm using this much memory.

I've found that the problem occurs here:

$menu  =& JSite::getMenu(true);

when getMenu is called, if I put an echo statement in this function in JMenu:

function &getInstance($client, $options = array())

it gets printed over and over which makes me think somehow an infinite loop is happening but I'm not sure why...

  • 写回答

2条回答 默认 最新

  • dongyongmin5711 2011-02-08 21:03
    关注

    It just magically started working. I think it had something to do with the mod_rewrite setting but I can't prove it...

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 有偿四位数,节约算法和扫描算法
  • ¥15 VUE项目怎么运行,系统打不开
  • ¥50 pointpillars等目标检测算法怎么融合注意力机制
  • ¥15 关于超局变量获取查询的问题
  • ¥20 Vs code Mac系统 PHP Debug调试环境配置
  • ¥60 大一项目课,微信小程序
  • ¥15 求视频摘要youtube和ovp数据集
  • ¥15 在启动roslaunch时出现如下问题
  • ¥15 汇编语言实现加减法计算器的功能
  • ¥20 关于多单片机模块化的一些问题