GregFest Posted November 25, 2011 Share 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 Link to comment Share on other sites More sharing options...
Ishraq Posted November 25, 2011 Share Posted November 25, 2011 Is that \ meant to be there? Quote Link to comment Share on other sites More sharing options...
GregFest Posted November 25, 2011 Author Share Posted November 25, 2011 tried with and without Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted November 26, 2011 Share 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 Link to comment Share on other sites More sharing options...
prototype Posted November 26, 2011 Share Posted November 26, 2011 a_bertrand how to disable the php errors Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted November 26, 2011 Share 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 Link to comment Share on other sites More sharing options...
rulerofzu Posted November 26, 2011 Share 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 Link to comment Share on other sites More sharing options...
Djkanna Posted November 26, 2011 Share 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 Link to comment Share on other sites More sharing options...
GregFest Posted November 27, 2011 Author Share 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 Link to comment Share on other sites More sharing options...
GregFest Posted December 3, 2011 Author Share Posted December 3, 2011 ok fixed this problem Quote Link to comment Share on other sites More sharing options...
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.