Status
Not open for further replies.

dandanthedan

New member
Code:
Fatal error: Cannot break/continue 1 level in /home/mysite/public_html/forums/dbtech/vbshop/items/intpermission.php on line 70
That is what i get when i purchase signature permissions using the Usergroup Permissions (values)...you see, i want to have these in my shop:

- Enable Signature
- 3 Lines Signature (Maximum Lines in Signature=3)
- 4 Lines Signature (Maximum Lines in Signature=4)
- Enable 1 Image in Signatures (Maximum Images in Signature=1)

Case: i bought a 3 Lines Signature but when i try to buy a "4 lines signature" or a "Enable 1 image in signatures" the error above shows!

EDIT: also i tried these:
- 75 max Private Messages
- 100 max Private messages
* i bought the 75 max PMs first then tried buying the 100 max PMs then poof! ERROR like above..

it seems that when you buy one item, you couldnt "OVERRIDE" it anymore...

any help?
 
Last edited:
I'm getting the same:
Fatal error: Cannot break/continue 1 level in /home/myname/domains/sitename.com/public_html/forum/dbtech/vbshop/items/intpermission.php on line 69
 
I found this in the source:
Code:
		if ($user['permissions']["$arr[0]"] > $this->config['code']['value'])
		{
			// Ignore this
			continue;
		}

and I changed it to
Code:
		if ($user['permissions']["$arr[0]"] > $this->config['code']['value'])
		{
			// Ignore this
			//continue;
		}

Then my users that purchased something could use the site again..
I guess it's because PHP cant use continue unless it's in a loop o_O?
 
I found this in the source:
Code:
		if ($user['permissions']["$arr[0]"] > $this->config['code']['value'])
		{
			// Ignore this
			continue;
		}

and I changed it to
Code:
		if ($user['permissions']["$arr[0]"] > $this->config['code']['value'])
		{
			// Ignore this
			//continue;
		}

Then my users that purchased something could use the site again..
I guess it's because PHP cant use continue unless it's in a loop o_O?

where can i find this code?

EDIT:
FOUND IT!! and its fixed!! thanks for this quick fix!
 
Last edited:
Status
Not open for further replies.
Back
Top