( ! ) Warning: Undefined variable $file_details in /home/hsntest/public_html/resources on line 89
Call Stack
#TimeMemoryFunctionLocation
10.0004442944{main}( ).../resources:0

( ! ) Warning: Undefined array key 4 in /home/hsntest/public_html/resources on line 140
Call Stack
#TimeMemoryFunctionLocation
10.0004442944{main}( ).../resources:0

( ! ) Warning: Trying to access array offset on value of type null in /home/hsntest/public_html/resources on line 149
Call Stack
#TimeMemoryFunctionLocation
10.0004442944{main}( ).../resources:0

( ! ) Warning: Undefined array key "show_non_approved" in /home/hsntest/includes/class/hsnCourse.class on line 202
Call Stack
#TimeMemoryFunctionLocation
10.0004442944{main}( ).../resources:0
20.00851394088hsnCourse->getLinks( $args = ['member' => NULL] ).../resources:149

( ! ) Warning: Undefined array key "show_deleted" in /home/hsntest/includes/class/hsnCourse.class on line 205
Call Stack
#TimeMemoryFunctionLocation
10.0004442944{main}( ).../resources:0
20.00851394088hsnCourse->getLinks( $args = ['member' => NULL] ).../resources:149

( ! ) Warning: Undefined array key "sql" in /home/hsntest/includes/class/hsnCourse.class on line 208
Call Stack
#TimeMemoryFunctionLocation
10.0004442944{main}( ).../resources:0
20.00851394088hsnCourse->getLinks( $args = ['member' => NULL] ).../resources:149

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /home/hsntest/includes/class/hsnCourse.class:202) in /home/hsntest/vendor/delight-im/auth/src/Auth.php on line 75
Call Stack
#TimeMemoryFunctionLocation
10.0004442944{main}( ).../resources:0
20.00851394088hsnCourse->getLinks( $args = ['member' => NULL] ).../resources:149
30.00881439272hsnDatabase->doQuery( $stringQuery = 'SELECT l.*, g.name as group_name,\r\n\t\t\t\t\t\t\tDATE_FORMAT(l.suggested,\'%e/%c/%Y\') as `suggested_fdate`,\r\n\t\t\t\t\t\t\tDATE_FORMAT(l.approved,\'%e/%c/%Y\') as `approved_fdate`,\r\n\t\t\t\t\t\t\tDATE_FORMAT(l.deleted,\'%e/%c/%Y\') as `deleted_fdate`,\r\n\t\t\t\t\t\t\tUNIX_TIMESTAMP(l.suggested) as suggested_u,\r\n\t\t\t\t\t\t\tUNIX_TIMESTAMP(l.approved) as approved_u,\r\n\t\t\t\t\t\t\tUNIX_TIMESTAMP(l.deleted) as deleted_u,\r\n\t\t\t\t\t\t\tm1.name as suggested_by_name,\r\n\t\t\t\t\t\t\tm2.name as approved_by_name,\r\n\t\t\t\t\t\t\tm3.name as deleted_by_name\r\n\t\t\t\t\t\tFROM (hsn_data.link'... ).../hsnCourse.class:265
40.00901440600hsnDatabase->error( $message = 'Query:\nSELECT l.*, g.name as group_name,\r\n\t\t\t\t\t\t\tDATE_FORMAT(l.suggested,\'%e/%c/%Y\') as `suggested_fdate`,\r\n\t\t\t\t\t\t\tDATE_FORMAT(l.approved,\'%e/%c/%Y\') as `approved_fdate`,\r\n\t\t\t\t\t\t\tDATE_FORMAT(l.deleted,\'%e/%c/%Y\') as `deleted_fdate`,\r\n\t\t\t\t\t\t\tUNIX_TIMESTAMP(l.suggested) as suggested_u,\r\n\t\t\t\t\t\t\tUNIX_TIMESTAMP(l.approved) as approved_u,\r\n\t\t\t\t\t\t\tUNIX_TIMESTAMP(l.deleted) as deleted_u,\r\n\t\t\t\t\t\t\tm1.name as suggested_by_name,\r\n\t\t\t\t\t\t\tm2.name as approved_by_name,\r\n\t\t\t\t\t\t\tm3.name as deleted_by_name\r\n\t\t\t\t\t\tFROM (hsn_da'... ).../hsnDatabase.class:110
50.00901441240hsnPage->__construct( $without_member_info = ??? ).../hsnDatabase.class:219
60.00931445480Delight\Auth\Auth->__construct( $databaseConnection = class PDO { }, $ipAddress = ???, $dbTablePrefix = ???, $throttling = ???, $sessionResyncInterval = ???, $dbSchema = ??? ).../hsnPage.class:120
70.00931445696Delight\Auth\Auth->enhanceHttpSecurity( ).../Auth.php:51
80.00931445696header_remove( $name = 'X-Powered-By' ).../Auth.php:75
HSN.uk.net
This is an archived page which is no longer updated. Please visit the new homepage.
Database Error

MySQL reported an error

Query:
SELECT l.*, g.name as group_name,
DATE_FORMAT(l.suggested,'%e/%c/%Y') as `suggested_fdate`,
DATE_FORMAT(l.approved,'%e/%c/%Y') as `approved_fdate`,
DATE_FORMAT(l.deleted,'%e/%c/%Y') as `deleted_fdate`,
UNIX_TIMESTAMP(l.suggested) as suggested_u,
UNIX_TIMESTAMP(l.approved) as approved_u,
UNIX_TIMESTAMP(l.deleted) as deleted_u,
m1.name as suggested_by_name,
m2.name as approved_by_name,
m3.name as deleted_by_name
FROM (hsn_data.links l, hsn_data.courses c, hsn_data.link_groups g)
LEFT JOIN hsn_ipb.ibf_members m1
ON l.suggested_by = m1.member_id
LEFT JOIN hsn_ipb.ibf_members m2
ON l.approved_by = m2.member_id
LEFT JOIN hsn_ipb.ibf_members m3
ON l.deleted_by = m3.member_id
WHERE c.course_name ='Advanced Higher Mathematics' AND c.dormant = 'FALSE'
AND c.course_name = g.course_name AND l.group_id = g.group_id
AND l.approved IS NOT NULL
AND l.deleted IS NULL

ORDER BY g.group, l.id

MySQL said:
SELECT command denied to user 'hsntest_default'@'localhost' for table `hsn_data`.`links`