DrMath Posted June 21, 2014 Share Posted June 21, 2014 Hey guys! I am trying to create a script to "promote" all my members at once based on some forum measurements. Here is my code (pastebin). I don't know what is wrong. The page is blank and won't even load. Please help. http://pastebin.com/aZeKq1Zw Note: This is within the vBulletin 4.2.2 framework. Quote Link to comment https://forums.phpfreaks.com/topic/289229-array-issue/ Share on other sites More sharing options...
fastsol Posted June 21, 2014 Share Posted June 21, 2014 You need to turn on error_reporting in you php.ini file. Then put this at the top of the page error_reporting(E_ALL); Then it will show you the error the script is throwing and causing it not to load. A quick glance at your script I would guess that you are missing a closing } somewhere. Quote Link to comment https://forums.phpfreaks.com/topic/289229-array-issue/#findComment-1482979 Share on other sites More sharing options...
DrMath Posted June 21, 2014 Author Share Posted June 21, 2014 (edited) Netbeans isn't catching anything, but I'll check. Edited June 21, 2014 by DrMath Quote Link to comment https://forums.phpfreaks.com/topic/289229-array-issue/#findComment-1482980 Share on other sites More sharing options...
DrMath Posted June 21, 2014 Author Share Posted June 21, 2014 Can't edit anymore, but did both and I still am getting no errors, just a blank screen still. Quote Link to comment https://forums.phpfreaks.com/topic/289229-array-issue/#findComment-1482981 Share on other sites More sharing options...
DrMath Posted June 21, 2014 Author Share Posted June 21, 2014 I cannot edit the post further, but I had to set the userids using a while loop on the query fetching. ^^ Then everything worked out well. Quote Link to comment https://forums.phpfreaks.com/topic/289229-array-issue/#findComment-1482983 Share on other sites More sharing options...
Solution DrMath Posted June 21, 2014 Author Solution Share Posted June 21, 2014 Back with another issue with this code. I made a page that does this, and a cron-jon for vbulletin (automatic job) that runs every evening. The page works perfectly, but the scheduled task (cron page) makes everyone have the same additional groups. Codes below: Manual page: http://pastebin.com/1yW9iQrb Automaticly Run Page: http://pastebin.com/DcuiPm9X Quote Link to comment https://forums.phpfreaks.com/topic/289229-array-issue/#findComment-1483000 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.