本文介绍了CodeIgniter的HMVC模块化扩展的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在MacOS X Snow Leopard上使用PHP 5.3,CodeIgniter 2.0和HMVC Modular Extensions在本地开发。一切都一直很好。

I've been developing locally on MacOS X Snow Leopard using PHP 5.3, CodeIgniter 2.0 and HMVC Modular Extensions. Everything has been working great.

突然,没有理由我可以指出,我偶尔会遇到这个错误,当试图打开一个页面:

Suddenly, for no reason I can pinpoint, I am occasionally getting this error when trying to bring up a page:

错误不会发生在任何特定的地方,出现每5-10页载入大约等等。它通常会在刷新后消失,但有时我可能需要刷新几次。

The error doesn't occur at any specific place, it just seems to appear every 5-10 page loads or so. It usually goes away after a refresh, although sometimes I may need to refresh a couple of times.

之前有人遇到过此错误吗?它只是一些flakiness在我的Mac上的mySQL? (我也试图导出当前的数据库,并重新导入它在一个不同的名称,并分配该新的数据库,但问题仍然存在。我不知道一种方法来测试和修复在Mac上的MySQL数据库。)

Has anyone encountered this error before? Is it just some flakiness in mySQL on my Mac? (I also tried exporting the current DB and re-importing it under a different name and assigning that new DB, but the problem persists. I don't know of a way to test and "repair" a MySQL DB on a Mac.)

感谢您提供任何协助!

Gary

推荐答案

这只是你的MySQL数据库的问题。虽然我不知道这个问题是什么,HMVC与它无关。

This is just an issue with your MySQL database. While I'm not sure what that issue is, HMVC has nothing to do with it.

错误来自那里,因为加载程序由HMVC扩展,但没有逻辑改变。我会修复你的数据库或安装MAMP。

The error comes from there as the loader is extended by HMVC, but no logic is changed. I'd fix up your database or install MAMP.

这篇关于CodeIgniter的HMVC模块化扩展的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-15 04:24