peterisgb Posted April 18, 2013 Share Posted April 18, 2013 mine dont, the growsetup page, i click start growing and it dont do nothing. blank page lol Quote Link to comment Share on other sites More sharing options...
Raven1992 Posted April 18, 2013 Share 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 Link to comment Share on other sites More sharing options...
peterisgb Posted April 18, 2013 Share Posted April 18, 2013 try reuploading the code agin yup, still dont work lol. Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted April 18, 2013 Share 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 Link to comment Share on other sites More sharing options...
peterisgb Posted April 19, 2013 Share 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 Link to comment Share on other sites More sharing options...
peterisgb Posted April 19, 2013 Share 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 Link to comment Share on other sites More sharing options...
peterisgb Posted May 23, 2013 Share 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 Link to comment Share on other sites More sharing options...
Legaci Posted October 27, 2013 Share 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 Link to comment Share on other sites More sharing options...
Newbie Posted January 22, 2014 Author Share Posted January 22, 2014 small update of grow setup it now inserts into the database and uses a cron file now Quote Link to comment Share on other sites More sharing options...
Mofo1 Posted January 22, 2014 Share Posted January 22, 2014 Hi newbie tyvm for reply can u plz post the update link or post cheers Quote Link to comment Share on other sites More sharing options...
Newbie Posted January 22, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
Raven1992 Posted March 13, 2014 Share 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 Link to comment Share on other sites More sharing options...
sniko Posted March 13, 2014 Share 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 Link to comment Share on other sites More sharing options...
KyleMassacre Posted March 13, 2014 Share 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 Link to comment Share on other sites More sharing options...
Raven1992 Posted March 13, 2014 Share 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 Link to comment Share on other sites More sharing options...
Newbie Posted March 13, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
DamianCross Posted March 29, 2014 Share 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 Link to comment Share on other sites More sharing options...
Newbie Posted March 30, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
DamianCross Posted April 7, 2014 Share Posted April 7, 2014 No worries, I fixed it and improved it as well. Thank you Quote Link to comment Share on other sites More sharing options...
Samurai Legend Posted April 7, 2014 Share Posted April 7, 2014 May I see? Quote Link to comment Share on other sites More sharing options...
Newbie Posted May 4, 2014 Author Share Posted May 4, 2014 would anyone be intrested in using this still if i re worked it and released some updates for it? Quote Link to comment Share on other sites More sharing options...
Reecey12345 Posted May 12, 2014 Share Posted May 12, 2014 Id have interest in using this. I already do use this but updates would be fantastic. 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.