1
dvpicella
Solved Fatal error: Class 'XoopsLogger' not found in FILE on line X
  • 2010/3/23 11:02

  • dvpicella

  • Just popping in

  • Posts: 5

  • Since: 2005/9/1 1


I recently migrated a website to a new server.

After moving all files and db's exactly, I could not restart XOOPS because of the error.

"Fatal error: Class 'XoopsLogger' not found in FILE on line X"

Here is the problem and how I solved it.

PROBLEM

You are most likely running a module that is trying to modify memory "by reference" instead of "by value" using the "&" symbol. In php4 this was supposed to be faster but php5 works differently with memory and now this has been deprecated. As of php 5.3 it may start to give you fatal errors. I found that to be the case here.

SOLUTION

Edit "FILE" from the error message. On line X, delete the inapropriate & symbol.

For example:

change $a =& $b to $a = $b

That's it. Should work!




2
dvpicella
Re: php custom block in xoops 2.4.4
  • 2010/3/17 17:36

  • dvpicella

  • Just popping in

  • Posts: 5

  • Since: 2005/9/1 1


I'm having the same problem.

php scripts don't execute in custom blocks in 2.4.4 .

For example:

echo "this is a test";


Produces the code in a block.

I am not using protector. I don't think ... unless this is a new feature in 2.4.4 ...

Is there a security feature that prevents me from using php?



3
dvpicella
Re: Use https for xoops images
  • 2009/4/29 14:09

  • dvpicella

  • Just popping in

  • Posts: 5

  • Since: 2005/9/1 1


Only https

mainfile.php has the site as:https://thesite.com

It's the entire site. It is just that xoImgUrl still is configured to point tohttp://relativepathtoimages

this causes the standard security warning because the images are retrieved as unsecure content.



4
dvpicella
Re: Use https for xoops images
  • 2009/4/28 18:11

  • dvpicella

  • Just popping in

  • Posts: 5

  • Since: 2005/9/1 1


Perhaps I should upgrade to XOOPS 2.3.3 first - would that solve the issue?

I am on 2.0.18.1



5
dvpicella
Use https for xoops images
  • 2009/4/28 18:04

  • dvpicella

  • Just popping in

  • Posts: 5

  • Since: 2005/9/1 1


Hi ... I think this is a smarty issue. I have a XOOPS website where the entire website is on https not http.

The images still load from the 'http' url and I am assuming that is because smarty fills in the http wherever 'xoImgUrl' is used.

I should be able to change that. Perhaps somebody knows the best way that I can cause 'https' to be inserted for all image urls in xoImgUrl

Cheers!




TopTop



Login

Who's Online

235 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 235


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits