debug problem !!! HELP PLEASE !!!!

Joined
Aug 2, 2020
Messages
12
Reaction score
4
Please help me debugging this problem
Parse error: syntax error, unexpected 'config' (T_STRING), expecting ',' or ';' in /home/qgajwtdq/public_html/config/config.php on line 11

line 11 is this one ---> static $routingPath = "config/routes/";

i replaced all the terms of the site with website so dont mind that





<?php
namespace config;

class config{

static $mysqlHost = "localhost";
static $mysqlUser = "website";
static $mysqlPass = "website!";
static $database = "website;

static $routingPath = "config/routes/";
static $sites = array(
1 => array("url"=>"website", "routing" => "website.routing.php", "site" => "website"),
2 => array("url"=>"websitel", "routing" => "website.routing.php", "site" => "website"),
3 => array("url"=>"website", "routing" => "website.routing.php", "site" => "website"),
4 => array("url"=>"website", "routing" => "website.routing.php", "site" => "website"),
5 => array("url"=>"website", "routing" => "website.routing.php", "site" => "website"),
6 => array("url"=>"website", "routing" => "website.routing.php", "site" => "website"),
7 => array("url"=>"website", "routing" => "website.routing.php", "site" => "website"),
8 => array("url"=>"website", "routing" => "website.routing.php", "site" => "website"),
9 => array("url"=>"website", "routing" => "website.routing.php", "site" => "website"),
10 => array("url"=>"website", "routing" => "website.routing.php", "site" => "website")

);
}
 
Screenshot_2.png
 
yo bro as i expected an other problem




Fatal error: Uncaught Error: Call to undefined method classes\core\setup::createBetaalVerzoek() in /home/qgajwtdq/public_html/classes/core/setup.php:22 Stack trace: #0 /home/qgajwtdq/public_html/config/routes/beheer.routing.php(130): classes\core\setup->__construct() #1 [internal function]: {closure}() #2 /home/qgajwtdq/public_html/classes/core/routing.php(301): call_user_func_array(Object(Closure), Array) #3 /home/qgajwtdq/public_html/classes/core/routing.php(288): classes\core\routing->invoke(Object(Closure), Array) #4 /home/qgajwtdq/public_html/classes/core/routing.php(222): classes\core\routing->handle(Array, true) #5 /home/qgajwtdq/public_html/config/routes/beheer.routing.php(133): classes\core\routing->run() #6 /home/qgajwtdq/public_html/index.php(15): require_once('/home/qgajwtdq/...') #7 {main} thrown in /home/qgajwtdq/public_html/classes/core/setup.php on line 22
 
yo bro as i expected an other problem




Fatal error: Uncaught Error: Call to undefined method classes\core\setup::createBetaalVerzoek() in /home/qgajwtdq/public_html/classes/core/setup.php:22 Stack trace: #0 /home/qgajwtdq/public_html/config/routes/beheer.routing.php(130): classes\core\setup->__construct() #1 [internal function]: {closure}() #2 /home/qgajwtdq/public_html/classes/core/routing.php(301): call_user_func_array(Object(Closure), Array) #3 /home/qgajwtdq/public_html/classes/core/routing.php(288): classes\core\routing->invoke(Object(Closure), Array) #4 /home/qgajwtdq/public_html/classes/core/routing.php(222): classes\core\routing->handle(Array, true) #5 /home/qgajwtdq/public_html/config/routes/beheer.routing.php(133): classes\core\routing->run() #6 /home/qgajwtdq/public_html/index.php(15): require_once('/home/qgajwtdq/...') #7 {main} thrown in /home/qgajwtdq/public_html/classes/core/setup.php on line 22

Coding problems can be annoying, but these are the moments you learn and become better! We would need more portions of the code to help :)
 
Coding problems can be annoying, but these are the moments you learn and become better! We would need more portions of the code to help :)
what do you need bro ?! ill send it RIGHT NOW been bussy with this for way too long...
 
Back
Top