October 7, 201510 yr Sorry, i wasn't following the thread so I didn't see your initial post. What was the problem and why do you need to generate a sig every 10 minutes? When adding the image to my sig IPB said: "Unable to retrieve signature image dimensions, please try another image." Tried a lot of things but it didn't work, so eventually I just outputted all images to a folder and now run a cron job every 10 min.
October 7, 201510 yr Author When adding the image to my sig IPB said: "Unable to retrieve signature image dimensions, please try another image." Tried a lot of things but it didn't work, so eventually I just outputted all images to a folder and now run a cron job every 10 min. Is your htaccess setup properly?
October 7, 201510 yr Is your htaccess setup properly? Yep. The image was displayed correctly in a post, it just didn't work in a signature.
October 7, 201510 yr Author Yep. The image was displayed correctly in a post, it just didn't work in a signature. I noticed you have permissions setup on your web server to prevent people accessing other directories, could it be that you have denied global access to the php file that creates the image? Would make sense if OSBot can't retrieve the dimensions, if they can't load the image at all
October 7, 201510 yr I noticed you have permissions setup on your web server to prevent people accessing other directories, could it be that you have denied global access to the php file that creates the image? Would make sense if OSBot can't retrieve the dimensions, if they can't load the image at all Mhm could be, but it's working so I'll just keep it this way for now :p Thanks for this tut and your suggestion
October 16, 201510 yr URLConnection con = submit.openConnection(); instance.log("Submitting statistics..."); con.setDoInput(true); con.setDoOutput(true); con.setUseCaches(false); final BufferedReader rd = new BufferedReader(new InputStreamReader(con.getInputStream())); rd.close(); You 'could' just.. submit.openStream().close();
Create an account or sign in to comment