Apoccalypse
New Member
- Joined
- Apr 15, 2017
- Messages
- 114
- Solutions
- 2
- Reaction score
- 4
Hi guys,
I downloaded GesiorACC 2012 modificado by Natanael Beckman for tfs 0.3.6 or 0.4.
Everything works perfect but unfortunately I had one problem with it.
When I click button "Buy now Premium Points here"
I get the following error:
I checked the index.php file and I think that there is nothing connected with the button but I can be wrong .
I found a script "buypoints.php" at this forum and it would be even better for me, because it contains paypal and homepay methods which are everything what I need. It is for tfs 0.3.6 and 0.4 so it should work for me.
Unfortunately I am completly new to .php things and I have no idea how to implement it on my site.
(I didn't insert the buypoints.php script , because it is too vast although I think it isn't necessery.)
So, to sum up,my final question is :
Is it a way to connect the button "Buy now Premium Points" with the "buypoints.php" script?
I would be very thankful for help!
I downloaded GesiorACC 2012 modificado by Natanael Beckman for tfs 0.3.6 or 0.4.
Everything works perfect but unfortunately I had one problem with it.
When I click button "Buy now Premium Points here"

I get the following error:
Error occured!
Error ID: CRITICAL ERROR
More info: Cannot load page buypoints, file does not exist.
File: C:\xampp\htdocs\system/load.compat.php Line: 20
File: C:\xampp\htdocs/index.php Line: 33
Error ID: CRITICAL ERROR
More info: Cannot load page buypoints, file does not exist.
File: C:\xampp\htdocs\system/load.compat.php Line: 20
File: C:\xampp\htdocs/index.php Line: 33
I checked the index.php file and I think that there is nothing connected with the button but I can be wrong .
<?php
// comment to show E_NOTICE [undefinied variable etc.], comment if you want make script and see all errors
error_reporting(E_ALL ^ E_STRICT ^ E_NOTICE);
// true = show sent queries and SQL queries status/status code/error message
define('DEBUG_DATABASE', false);
define('INITIALIZED', true);
// if not defined before, set 'false' to load all normal
if(!defined('ONLY_PAGE'))
define('ONLY_PAGE', false);
// check if site is disabled/requires installation
include_once('./system/load.loadCheck.php');
// fix user data, load config, enable class auto loader
include_once('./system/load.init.php');
// DATABASE -------> Line 20 from the error message.
include_once('./system/load.database.php');
if(DEBUG_DATABASE)
Website::getDBHandle()->setPrintQueries(true);
// DATABASE END
// LOGIN
if(!ONLY_PAGE)
include_once('./system/load.login.php');
// LOGIN END
// COMPAT
// some parts in that file can be blocked because of ONLY_PAGE constant
include_once('./system/load.compat.php');
// COMPAT END
// LOAD PAGE
include_once('./system/load.page.php');
// LOAD PAGE END
// LAYOUT
// with ONLY_PAGE we return only page text, not layout
if(!ONLY_PAGE)
include_once('./system/load.layout.php');
else
echo $main_content;
// LAYOUT END
// comment to show E_NOTICE [undefinied variable etc.], comment if you want make script and see all errors
error_reporting(E_ALL ^ E_STRICT ^ E_NOTICE);
// true = show sent queries and SQL queries status/status code/error message
define('DEBUG_DATABASE', false);
define('INITIALIZED', true);
// if not defined before, set 'false' to load all normal
if(!defined('ONLY_PAGE'))
define('ONLY_PAGE', false);
// check if site is disabled/requires installation
include_once('./system/load.loadCheck.php');
// fix user data, load config, enable class auto loader
include_once('./system/load.init.php');
// DATABASE -------> Line 20 from the error message.
include_once('./system/load.database.php');
if(DEBUG_DATABASE)
Website::getDBHandle()->setPrintQueries(true);
// DATABASE END
// LOGIN
if(!ONLY_PAGE)
include_once('./system/load.login.php');
// LOGIN END
// COMPAT
// some parts in that file can be blocked because of ONLY_PAGE constant
include_once('./system/load.compat.php');
// COMPAT END
// LOAD PAGE
include_once('./system/load.page.php');
// LOAD PAGE END
// LAYOUT
// with ONLY_PAGE we return only page text, not layout
if(!ONLY_PAGE)
include_once('./system/load.layout.php');
else
echo $main_content;
// LAYOUT END
I found a script "buypoints.php" at this forum and it would be even better for me, because it contains paypal and homepay methods which are everything what I need. It is for tfs 0.3.6 and 0.4 so it should work for me.
Unfortunately I am completly new to .php things and I have no idea how to implement it on my site.
(I didn't insert the buypoints.php script , because it is too vast although I think it isn't necessery.)
So, to sum up,my final question is :
Is it a way to connect the button "Buy now Premium Points" with the "buypoints.php" script?
I would be very thankful for help!