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. 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. 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 Netbeans isn't catching anything, but I'll check. 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. 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. Link to comment https://forums.phpfreaks.com/topic/289229-array-issue/#findComment-1482983 Share on other sites More sharing options...
DrMath Posted June 21, 2014 Author 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 Link to comment https://forums.phpfreaks.com/topic/289229-array-issue/#findComment-1483000 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.