![]() |
Strange Cookie Error Chuck, Starting this morning my members have been reporting instances of this error: Code: Content visible to verified customers only.Members who have cleared their cookies have had the problem go away, except for one with FireFox who claims he still has the problem. Any idea why? |
no idea just gessing... from the url... modules/vbgallery.php I assume you are using vbadvanced portal.. there seems to an error within the portal software (or the module) try to disable the module.. and see if the error persists.. if it persists, are you sure you did not update the portal software? did you change configuration of vbgallery module in portal? If you have not updated portal software.. there might be some special character or a corrupt image.. that causes an error(or warning) in php. usually thats why the errors get sent.. try to delete the last upload.. or last post in gallery.. ----------------- there are some strange behaviours of the vbadvanced cmps modules.. to debug the module open it in your editor and add exit; at the end.. you should then be able to read the error message.. hope that helps Luc |
I haven't changed anything with the module but I suppose someone could have uploaded an image to the gallery that was corrupted or posted a message in the gallery area that has a problem, I'm not sure but I'll go look. The vbgallery module is the one from here and it has been running for many months without issue and I haven't touched its configuration in many months either... Thanks for the pointers, I'll take a look... |
Line 164 btw is the very last line in the module file, it is simply a blank line. |
You can try deleting that line but it looks to me like your talking about a hack or something here because there is no file in our supported code called vbgallery.php |
well just stumbled into someone having a similar problem... the thread is 2 long and i dont have the time reading all... check out in the middle of the page... http://www.photopost.com/forum/vb-3-...-module-7.html good luck.. Luc |
Quote:
Is Zach still around? |
Make sure on reinstall that you delete the old version of vbgallery.php manually!! Long time ago I explained someone how to debug that file.. It was not your problem.. but similar..(a blank page) Check it out.. maybe it helps http://www.photopost.com/forum/1207759-post104.html good luck Luc.. PS: I will install the module sometime tomorow.. if i get that error.. I will let you know |
Just installed and works as a charm.. i checked your error code and the line is beyond the end of file in my vbgallery.php... actually its 2 lines after the closing ?> sign.. some servers dont like whitespace and carriage return outside of php and interpret them as html.. but once html is sent.. you cannot send a header (with cookies) so try the following.. open vbgallery.php in your editor and delete the whitespace.. the 2 or 3 extra lines after the end of the php part.. ( after the ?> ) make sure your cursor is right after the ?> sign and nothing after it!!!! then add a @ in front of the unset command.. (if a variable doesnt exist .. unset can throw a warning - this is suppressed by the @) so in brief.. open vbgallery.php and go to the end of the file.. replace: Code: Content visible to verified customers only.Code: Content visible to verified customers only.I think this could solve your problem... Luc |
<- whitespace and carriage return <- carriage return (line 164) Yep Luciano is correct there can not be empty lines or characters after your closing php tag. |
Well I installed version 2.8 of the mod from Zach after uninstalling 2.6 and so far it seems to be working, no reports of problems in the last 8 hours thus far. |
well yes.. strage enough.. i installed the version 2.6 and it worked like a charm.. BUT as i read your post.. i upgraded to 2.8.. main difference.. there is no ?> at the end of vbgallery.php :eek: this is correct.. it is NOT needed there.. SO it seems that usually CMPS doesnt care if the ?> is there or not.. BUT probably throws a hidden error under some circumstances.. so IF you are using CMPS version 3 or 3++ it is advisable to upgrade to 2.8 for that addon!!! (I just did) :cool: Luc |
| All times are GMT -5. The time now is 03:07 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0