peterisgb Posted April 18, 2013 Posted April 18, 2013 mine dont, the growsetup page, i click start growing and it dont do nothing. blank page lol Quote
Raven1992 Posted April 18, 2013 Posted April 18, 2013 mine dont, the growsetup page, i click start growing and it dont do nothing. blank page lol try reuploading the code agin Quote
peterisgb Posted April 18, 2013 Posted April 18, 2013 try reuploading the code agin yup, still dont work lol. Quote
KyleMassacre Posted April 18, 2013 Posted April 18, 2013 yup, still dont work lol. I cant test right now but im thinking its the links, its using a submit button for a link so I dont think works right that way. So try changing all those Quote
peterisgb Posted April 19, 2013 Posted April 19, 2013 from what i can see the submit buttons works all good. just the function start_grow() doent show lol, it looks all good for me tho lol, damm mccodes. Quote
peterisgb Posted April 19, 2013 Posted April 19, 2013 fixed on my site. Edit growsetup.php and find line 65 where this is You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and replace with this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. if wouldn't work because i had more than 1 hydro kit. Quote
peterisgb Posted May 23, 2013 Posted May 23, 2013 i got this working, its pretty good, however there isnt an option to sell the weed once you have grown it. Quote
Legaci Posted October 27, 2013 Posted October 27, 2013 Not criticism but after every function you dont need global variables only in the function that uses it but the if you define the variables you dont need it also $ir,$db,$c these are all defined already and not necessarily needed if you add the header to those pages :) good work!!! Quote
Newbie Posted January 22, 2014 Author Posted January 22, 2014 small update of grow setup it now inserts into the database and uses a cron file now Quote
Mofo1 Posted January 22, 2014 Posted January 22, 2014 Hi newbie tyvm for reply can u plz post the update link or post cheers Quote
Newbie Posted January 22, 2014 Author Posted January 22, 2014 (edited) sellweed.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. might be a bit buggy untested Edited March 13, 2014 by Newbie forgot to include globals.php 1 Quote
Raven1992 Posted March 13, 2014 Posted March 13, 2014 (edited) sell weed tried it bug in line 46 when u selling it also here are images of the weed bank to show it does work Fatal error: Call to a member function query() on a non-object in /home/hellcent/public_html/sellweed.php on line 46 [ATTACH=CONFIG]1330[/ATTACH] [ATTACH=CONFIG]1331[/ATTACH] [ATTACH=CONFIG]1332[/ATTACH] [ATTACH=CONFIG]1333[/ATTACH] [ATTACH=CONFIG]1334[/ATTACH] [ATTACH=CONFIG]1335[/ATTACH] [ATTACH=CONFIG]1336[/ATTACH] good attempt at it newbie +1 for it Edited March 13, 2014 by Raven1992 Quote
sniko Posted March 13, 2014 Posted March 13, 2014 Just from looking at the screenshots you supplied, it doesn't look like it's got the MCV2 wrapper on it. Is globals included? $db-> doesn't exist If we're in a function, global $db Quote
KyleMassacre Posted March 13, 2014 Posted March 13, 2014 You need to add $userid to the list of global variables to the sell weed function and also you are using $newprofit in your update query but I don't see that variable which I believe it should be $newprof Quote
Raven1992 Posted March 13, 2014 Posted March 13, 2014 i thought it goes under the same database as selling items i have a look at the code again after i been out with my m8's to celebrate my birthday Quote
Newbie Posted March 13, 2014 Author Posted March 13, 2014 yes silly me forgot to include globals.php its done now and also updated the sell function to hold $userid sellweed.php updated Quote
DamianCross Posted March 29, 2014 Posted March 29, 2014 So I tried several different things in my tables, however, I keep getting the same "Query failed" error when I click on "Star Growing" Quote
Newbie Posted March 30, 2014 Author Posted March 30, 2014 So I tried several different things in my tables, however, I keep getting the same "Query failed" error when I click on "Star Growing" post up the error and the line of code from the error Quote
DamianCross Posted April 7, 2014 Posted April 7, 2014 No worries, I fixed it and improved it as well. Thank you Quote
Newbie Posted May 4, 2014 Author Posted May 4, 2014 would anyone be intrested in using this still if i re worked it and released some updates for it? Quote
Reecey12345 Posted May 12, 2014 Posted May 12, 2014 Id have interest in using this. I already do use this but updates would be fantastic. 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.