Closed (won't fix)
Project:
Guestbook
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 May 2006 at 01:20 UTC
Updated:
13 May 2008 at 23:39 UTC
Jump to comment: Most recent
I went through multiple reinstalls of drupal as I was getting,
"Fatal error: Cannot use assign-op operators with overloade objects nor string offsets in /home/.gilli/mydomain/mydomain.net/includes/common.inc on line 1075"
I'm not 100% sure if this is a bug on the guestbook module side, but at least from my end I was able to track down the problem to conflict between guestbook module and the picture support option from user settings.
It seems as though, this error occurs only when the guestbook module is used as a frontpage with the user picture support(avatar) enabled.
Minor bug, but just thought I'd mention the problem.
Thanks for your time and work put into the module.
Regards,
Grant
Comments
Comment #1
hba commentedI cannot seem to pin this one down. I've tried setting both guestbook and guestbook/0 as default start page, but I cannot reproduce your errors. What modules have you got installed? Does it happen with guestbook as the only installed module?
Comment #2
highestblue commentedHey Henrik.
First of all, thanks for a quick response.
I want to let you know that I was able to further track down the problem, and came up with a quick fix for it. But essentially it is only a partial solution.
At the time I was getting the error, I was more concerned with stabilizing my site, so had not experimented with the issue in too much detail. But as I tried few things after stabilizing my site, I was able to narrow down the problem to access control option of user module.
As I did not want anonymous users to have permission to access user profiles, I had it unchecked. But when I had allowed the anonymous users this permission, the problem was solved. So whether or not guestbook is set as a frontpage was not an issue. Rather the problem depended on anonymous user’s access permission to user profiles.
I think I recall from your coding that does check for such condition. But I’m only beginning to learn about programming so I wouldn’t know much about it as of yet.
About the information you have asked for, currently I have various modules and themes installed. But in the first instance I had detected the problem, I had following modules installed.
- logintoboggan
- acidfree
- filemanager
- quotes
- guestbook
Thanks for your attention. And have a great day.
Regards,
Grant
Comment #3
highestblue commentedAs a feature request, I'm wondering if you can have multiple site guestbooks.
Also an option to disable the avatar.
Comment #4
hba commentedHi.
As to your problem, I recently changed some of the code in guestbook.module. Guestbook will only link to user profiles (or guestbooks) if the current user has access rights to do so. Maybe that fixes your problem?
Another thing, please don't change the issue topic, and please don't add new feature requests to existing bug issues. Feature requests should be put into new issues, otherwise it's very difficult for me to keep track.
Comment #5
nautis commentedI'm having the same problem with guestbook, even after updating to the latest version. The error is:
Fatal error: Cannot use assign-op operators with overloaded objects nor string offsets in /home/.eros/nautis/lassiter91.com/includes/common.inc on line 1083It must be some kind of permission problem because it works fine when I am logged in. In the admin section I have also check anoymous permissions. Any ideas?
Comment #6
atreides-1 commentedHi,
I'm having exactly the same error as nautis (same error at line 1058). I've checked what highestblue says, and it applies to my case as well. This means, that for anonymous users, guestbook is visible and works perfectly as soon as one of two conditions meet:
- Avatars are disabled
- Anonymous users are given the permission to see user profiles
I'm using the latest release (4.7.0, 20/06/2006 - 09:15, 22.69 KB)
Thanks in advance for you attention, and as well for your module.
Comment #7
atreides-1 commentedSorry ...
I didn't find any way to update my previous post. I said my error happened on line 1058. It's not right. It happens at the same line number as for nautis, which is 1083.
Comment #8
ali4728 commentedI have the same problem, I can view the the posts logged in as admin but other users or anonymous can not view or do anything elce with the Guestbook and receives the following message...
Fatal error: Cannot use assign-op operators with overloaded objects nor string offsets in /var/www/html/includes/common.inc on line 1083
Comment #9
Anonymous (not verified) commentedI encountered the same problem after applying this fix (see #2 there for details).
Comment #10
WaPoNe commentedHi,
I'm having the same problem..
The entry author is not visible if the author is a Authenticate user, visible if the author is anonymous user.
So, I've enabled picture support (avatar).
It works fine when I use Firefox browser.
Using IE browser I see the messagge: "Fatal error: Cannot use assign-op operators with overloaded objects nor string offsets in /home/mhd-01/mydomain.com/htdocs/includes/common.inc on line 1105"
Thanks
Comment #11
sunSorry, 4.7.x is no longer supported. Feel free to re-open this issue if you want to provide a patch.