This is error handling and should be working like it is. The trick would be to fix the error. Do you allow private albums within vBulletin?
die 4 true filling my logs
Collapse
X
-
Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 API -
Here's a link to the Jira report I created on the issue: http://tracker.vbulletin.com/browse/VBIV-15629Comment
-
Wayne,
Not to be rude, but it doesn't feel much like "handling" if there is no information given in the error outside of the very vague die4false/true statement.
In regard to private albums, without modifying code, I thought there wasn't a way to disable private albums.
With all of that being said, we HAVE run into members who have no images uploaded yet, running into issue with uploading into their albums and we haven't been able to determine why it happens or what is the cause.Comment
-
There is no good reason for those logging statements, they dont do any harm, but they arent useful either, they look like old debug code.
If we do another release in the future, i'll look at just removing them. You can comment them out if you wish.Baby, I was born this wayComment
-
What do we actually need in this whole block?
PHP Code:{
//error_log('die 4 ' . var_export($this->attachmentinfo['albumstate'] == 'private'
// AND
// !can_view_private_albums($this->attachmentinfo['userid']), true));
// echo clear.gif, not permissions error. This may only be needed for 'albumstate' == 'profile'
return 0;
}
Comment
-
Comment
-
I totally forgot this problem. When I reviewed Apache error logs and Google led me to this thread again. lol
On my forum this problem was caused by a plugin http://www.vbulletin.org/forum/showthread.php?t=237931
The plugin doesn't do all permission correctly, when someone browsing the albums, some albums that are supposed to be hidden to the visitor will show up (the plugin will try to display the album but fails), that's how the error kicks in.
I have uncommented the line (actually 3 lines, be careful), no harm done.
Comment
Related Topics
Collapse
-
by Papy___Hello,
In my error logs there are many errors of this type
there is also this
do you have an idea ?
thanks...-
Channel: Support Issues & Questions
Fri 26 Nov '21, 10:44pm -
-
Everything is fine when typing in the title of the thread but then when I type in the body I get this error just after a split second. I'm
still able to get it to load though and make a posts but...-
Channel: Support Issues & Questions
Sat 22 Sep '12, 9:54am -
-
by msouefihello
google dedicated this link returning a 5XX error on my website, please how can i fix it.
thanks-
Channel: Support Issues & Questions
Sat 28 Sep '19, 12:11am -
-
by BatemanHi,
I'm trying to install a new site with a fresh version 5 license. Installation went okay without any errors.
After logging in with my admin account and clicking the admincp...-
Channel: vBulletin 5 Installs & Upgrades
Sun 10 Mar '13, 6:13am -
-
by mark1987I recently upgraded from VB 4 to VB 5.7.5. Everything has mostly been smooth, but I've had a report from one user who keeps seeing the following message when they try to log in:
An unexpected...-
Channel: Support Issues & Questions
Thu 10 Aug '23, 5:12am -
Comment