Jump to content

Get-Gaming

Clients
  • Posts

    69
  • Joined

  • Last visited

1 Follower

About Get-Gaming

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Get-Gaming's Achievements

    Great plugin. Missing a few little things. Upcoming widget with 2,3 or 4 upcoming matches. Neat feature would be to have a list of teams you can select which pre-sets images etc. But that wouldn't be possible in a plugin like this most likely.
  1. {{$member = \IPS\Member::loggedIn();}} {{$id = $member->member_id;}} <center> <style> .trailer { position: relative; padding-top: 25px; height: 200px; } </style> <script type="text/javascript"> $(document).ready(function(){ var id = <?php echo $id;?>; refreshTable2(); }); function refreshTable2(){ $('#tableHolder2').load('data/trailer/trailer-button.php?id=(id)', function(){ setTimeout(refreshTable2, 5000); }); } </script> <div id="tableHolder2"></div> <hr> <p> <a class="ipsButton ipsButton_positive ipsButton_verySmall" href="https://tour-o-matic.net/data/trailer/trailer-button.php?id={$id}&mode=2" target="trailer">Start Loading</a> <a class="ipsButton ipsButton_positive ipsButton_verySmall" href="https://tour-o-matic.net/data/trailer/trailer-button.php?id={$id}&mode=3" target="trailer">Start Unloading</a> </p> <hr> </center> This is my code so i'm trying to move from iframe to jquery refreshing but i need to pass the id of the user to the php script.. i just can't get it to work
  2. I managed to get 5.6 to work finnaly but now i'm getting this. Fatal error: Uncaught ErrorException: mysqli::real_escape_string(): Couldn't fetch IPS\Db in /home/tourom1q/public_html/system/Db/Db.php:1964 Stack trace: #0 [internal function]: IPS\IPS::errorHandler(2, 'mysqli::real_es...', '/home/tourom1q/...', 1964, Array) #1 /home/tourom1q/public_html/system/Db/Db.php(1964): mysqli->real_escape_string('cacheKeys') #2 /home/tourom1q/public_html/system/Data/Store/Database.php(89): IPS\_Db->in('store_key', Array) #3 /home/tourom1q/public_html/system/Data/Store/Database.php(105): IPS\Data\Store\_Database->loadIntoMemory(Array) #4 /home/tourom1q/public_html/system/Data/Store/Database.php(152): IPS\Data\Store\_Database->get('settings') #5 /home/tourom1q/public_html/system/Data/AbstractData.php(121): IPS\Data\Store\_Database->exists('settings') #6 /home/tourom1q/public_html/system/Data/Store.php(188): IPS\Data\_AbstractData->__isset('settings') #7 /home/tourom1q/public_html/system/Settings/Settings.php(133): IPS\Data\_Store->__isset('settings') #8 /home/tourom1q/public_html/system/Settings/ in /home/tourom1q/public_html/system/Db/Db.php on line 1964
  3. Moved to a new vps. But plesk installs only mysql 5.5 and not 5.6 Tried doing it manually already but that became a disaster and i had to set back a backup which also made our teamspeak server go down to much unhappiness of the community. oh its centos 7
  4. Unable to import the vtc dump: ERROR 1214 (HY000) at line 3138: The used table type doesn't support FULLTEXT indexes Traceback (most recent call last): File "/usr/local/psa/admin/sbin/dbbackup", line 6, in <module> File "/usr/local/psa/lib/modules/python/dbbackup/dbbackup.py", line 100, in main restore(options, password) File "/usr/local/psa/lib/modules/python/dbbackup/dbbackup.py", line 89, in restore raise Exception("program 'mysql' finished with non-zero exit code: %d" % p.returncode) Exception: program 'mysql' finished with non-zero exit code: 1
  5. I've moved to a new host but its only support mysql 5.5 and i used to be on 5.6. So i cannot import my database as it gives errors about full text not being supported.
  6. So we're able to retrieve and post custom fields now but i don't quite understand how i can do that. I only got as far as using the parameters. $curl = curl_init( $communityUrl . 'cms/records/2' ); curl_setopt_array( $curl, array( CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_HTTPAUTH => CURLAUTH_BASIC, CURLOPT_USERPWD => "{$apiKey}:", CURLOPT_POST => 1, CURLOPT_POSTFIELDS => "category=$insertcategory&hidden=0&title=$title&author=$this->memberid&fields[7]=$this->departure&fields[8]=$this->arrival&fields[18]=$this->income&fields[11]=$this->cargo&fields[9]=$distance&fields[10]=$consumed&fields[12]=$this->mass&fields[13]=$trailerDamage&fields[14]=$this->brand&fields[16]=$this->fromcompany&fields[17]=$this->tocompany&fields[15]=$this->model" ) ); curl_exec($curl); Left api and url out of it here. This works. But how could I also edit a member with this post? If not possible can I edit custom fields through a seperate curl then? If so how?
  7. Using redis, you can just install redis on ubuntu from the package, keep the port closed and fill in local up in ips. Works amazingly well.
  8. Got no answer to this either.. So once again I solved it myself.
  9. Tue, 05 Jan 2016 20:34:32 +0000 (Severity: 2) 89.99.247.239 - https://get-gaming.net/admin/?adsess=gklr9sgd58q5eoar4es70ptj85&app=core&module=applications&controller=api&tab=apiReference&endpoint=cms/records/GETindex ReflectionException 0: Class \IPS\cms\Category does not exist #0 /var/www/vhosts/get-gaming.net/httpdocs/applications/core/modules/admin/applications/apiReference.php(154): ReflectionMethod->__construct('\\IPS\\cms\\Catego...', 'apiOutput') #1 /var/www/vhosts/get-gaming.net/httpdocs/applications/core/modules/admin/applications/apiReference.php(169): IPS\core\modules\admin\applications\_apiReference->_getAdditionalClasses('\\IPS\\cms\\Catego...') #2 /var/www/vhosts/get-gaming.net/httpdocs/applications/core/modules/admin/applications/apiReference.php(100): IPS\core\modules\admin\applications\_apiReference->_getAdditionalClasses('IPS\\cms\\Records') #3 /var/www/vhosts/get-gaming.net/httpdocs/system/Dispatcher/Controller.php(94): IPS\core\modules\admin\applications\_apiReference->manage() #4 /var/www/vhosts/get-gaming.net/httpdocs/applications/core/modules/admin/applications/apiReference.php(34): IPS\Dispatcher\_Controller->execute() #5 /var/www/vhosts/get-gaming.net/httpdocs/applications/core/modules/admin/applications/api.php(86): IPS\core\modules\admin\applications\_apiReference->execute() #6 /var/www/vhosts/get-gaming.net/httpdocs/system/Dispatcher/Controller.php(94): IPS\core\modules\admin\applications\_api->__call('manage', Array) #7 /var/www/vhosts/get-gaming.net/httpdocs/system/Dispatcher/Controller.php(94): IPS\core\modules\admin\applications\api->manage() #8 /var/www/vhosts/get-gaming.net/httpdocs/system/Dispatcher/Dispatcher.php(129): IPS\Dispatcher\_Controller->execute() #9 /var/www/vhosts/get-gaming.net/httpdocs/admin/index.php(13): IPS\_Dispatcher->run() #10 {main} ------------------------------------------------------------------------
  10. I had a similiar problem because of cloudflare. Turning off rocket loading thingy fixed it for me. Worth a try if you use cloudflare
  11. Already tried that a dozen of times. Have a support ticket open as well
  12. Sun, 01 Nov 2015 08:12:49 +0000 (Severity: 2) 89.99.247.239 - https://get-gaming.net/support/create/ OutOfRangeException 0: #0 /var/www/vhosts/get-gaming.net/httpdocs/applications/nexus/sources/Support/Request.php(817): IPS\Patterns\_ActiveRecord::load(true, 'status_default_...') #1 /var/www/vhosts/get-gaming.net/httpdocs/system/Content/Item.php(294): IPS\nexus\Support\_Request->processForm(Array) #2 /var/www/vhosts/get-gaming.net/httpdocs/system/Content/Item.php(65): IPS\Content\_Item::createFromForm(Array, NULL) #3 /var/www/vhosts/get-gaming.net/httpdocs/applications/nexus/modules/front/support/home.php(88): IPS\Content\_Item::create() #4 [internal function]: IPS\nexus\modules\front\support\_home->create() #5 /var/www/vhosts/get-gaming.net/httpdocs/system/Dispatcher/Controller.php(85): call_user_func(Array) #6 /var/www/vhosts/get-gaming.net/httpdocs/applications/nexus/modules/front/support/home.php(39): IPS\Dispatcher\_Controller->execute() #7 /var/www/vhosts/get-gaming.net/httpdocs/system/Dispatcher/Dispatcher.php(129): IPS\nexus\modules\front\support\_home->execute() #8 /var/www/vhosts/get-gaming.net/httpdocs/index.php(13): IPS\_Dispatcher->run() #9 {main} ------------------------------------------------------------------------
  13. Yup, tried everything so went for the manual solution, clearly IPS is not happy about that haha
×
×
  • Create New...