Image 在Joomla中实现简单图像库时出错

Image 在Joomla中实现简单图像库时出错,image,joomla,gallery,Image,Joomla,Gallery,我正在使用Joomla(2.5)和Simple Image Gallery扩展开发一个网站(此时为localHost) 我是Joomla的新手,所以我只是在修改模板。我按照本教程学习如何正确实现扩展。我没有得到和他们一样的结果。很遗憾,我收到以下错误消息: Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla2\plugins\content\jw_simpleImag

我正在使用Joomla(2.5)和Simple Image Gallery扩展开发一个网站(此时为localHost)

我是Joomla的新手,所以我只是在修改模板。我按照本教程学习如何正确实现扩展。我没有得到和他们一样的结果。很遗憾,我收到以下错误消息:

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla2\plugins\content\jw_simpleImageGallery\jw_simpleImageGallery.php on line 31

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla2\plugins\content\jw_simpleImageGallery\jw_simpleImageGallery.php on line 32

Strict Standards: Non-static method SimpleImageGalleryHelper::getTemplatePath() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla2\plugins\content\jw_simpleImageGallery\jw_simpleImageGallery.php on line 109

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla2\plugins\content\jw_simpleImageGallery\jw_simpleImageGallery\includes\helper.php on line 255

Strict Standards: Non-static method SimpleImageGalleryHelper::getTemplatePath() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla2\plugins\content\jw_simpleImageGallery\jw_simpleImageGallery.php on line 112

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla2\plugins\content\jw_simpleImageGallery\jw_simpleImageGallery\includes\helper.php on line 255

Strict Standards: Non-static method SimpleImageGalleryHelper::getTemplatePath() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla2\plugins\content\jw_simpleImageGallery\jw_simpleImageGallery.php on line 115

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla2\plugins\content\jw_simpleImageGallery\jw_simpleImageGallery\includes\helper.php on line 255

Strict Standards: Non-static method SimpleImageGalleryHelper::renderGallery() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla2\plugins\content\jw_simpleImageGallery\jw_simpleImageGallery.php on line 149

Fatal error: Allowed memory size of 10485760 bytes exhausted (tried to allocate 11264 bytes) in C:\xampp\htdocs\joomla2\plugins\content\jw_simpleImageGallery\jw_simpleImageGallery\includes\helper.php on line 105
这是页面上唯一的文本,甚至模板的其他部分都没有显示出来。根据向某人提供的关于这个问题的建议,我关闭了错误报告,但毫不奇怪的是,它只给了我一个简单的白色页面,而没有告诉我出了什么问题

问以下问题的人似乎和我有同样的问题,但我检查了缓存文件夹的权限,它似乎是可写的


我没有办法解决这个问题。有没有人有过同样的问题,或者对问题可能出在哪里有过想法?任何帮助都将不胜感激。

我在我的网站上有过一次严格的标准:。幸运的是,当时它在WAMP上,所以我可以访问php.ini,并能够添加一个小代码段以防止错误再次出现

因此,如果您确实可以访问php.ini,请打开它并搜索

error_reporting(E_ALL);
并替换为:

error_reporting(E_ALL | E_STRICT);

此时我正在使用XAMPP,因此我可以访问php.ini文件。我已将错误报告从错误报告=E_ALL&~E_通知更改为错误报告=E_ALL | E_严格,但似乎没有什么区别(还有其他想法吗?您确定更改了正确的行吗?因为添加该行代码会关闭严格标准错误我认为应该将其更改为
error\u reporting(E\u ALL&~E\u Strict);