GregFest Posted November 25, 2011 Posted November 25, 2011 I am playing around with redux and i trying to make it so different staff can access areas i have tried if ( !in_array(\$ir['user_level'], array(2,6)) ) but it just blanks the page any suggestions Quote
a_bertrand Posted November 26, 2011 Posted November 26, 2011 Blank pages means you have an error in your PHP code and you disabled the display of the error. You should enable it such that you can see what is wrong ;) Quote
prototype Posted November 26, 2011 Posted November 26, 2011 a_bertrand how to disable the php errors Quote
a_bertrand Posted November 26, 2011 Posted November 26, 2011 Like most of your knowledge: google it :-P http://www.wallpaperama.com/forums/how-to-display-php-errors-in-my-script-code-when-display-errors-is-disabled-t453.html Quote
rulerofzu Posted November 26, 2011 Posted November 26, 2011 The \ isnt supposed to be there....surprised the page even worked with it there anyway. Could be any number of things for a start its Redux. Quote
Djkanna Posted November 26, 2011 Posted November 26, 2011 (edited) [...] Could be any number of things for a start its Redux. Like most of your knowledge: google it :-P http://www.wallpaperama.com/forums/how-to-display-php-errors-in-my-script-code-when-display-errors-is-disabled-t453.html :P The page wouldn't have worked but considering errors are turned off, and there's an error before it (due to the blank page remaining after the \ had been removed) it really wouldn't have made it that far. Edited November 26, 2011 by Djkanna Quote
GregFest Posted November 27, 2011 Author Posted November 27, 2011 one question the error comes up with Content Encoding Error The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. Please contact the website owners to inform them of this problem. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.