Rales99 Posted August 2, 2020 Share Posted August 2, 2020 Link to comment Share on other sites More sharing options...
daniil1121 Posted August 3, 2020 Share Posted August 3, 2020 Help me pls. I did everything according to the instructions, but I get this error. In file 3 line there is nothing there! Sorry for my English Link to comment Share on other sites More sharing options...
Rales99 Posted August 8, 2020 Share Posted August 8, 2020 Всё отлично работает! Link to comment Share on other sites More sharing options...
Hitz Posted August 11, 2020 Share Posted August 11, 2020 I was reistalling the site and i got this error on importing database... Quote And when I enter in table 'cms_settings' i got this: Quote Link to comment Share on other sites More sharing options...
Fugaku Posted September 2, 2020 Share Posted September 2, 2020 Parse error: syntax error, unexpected '>' in C:\xampp\htdocs\baurahwb\application\App\Preferences.php on line 160 any solution? Line: { $this->cmsSettings = $settings; } Link to comment Share on other sites More sharing options...
Argilus Posted November 25, 2020 Share Posted November 25, 2020 I am getting error Quote [Wed Nov 25 18:53:13.528137 2020] [php7:error] [pid 65685] [client 10.10.10.4:48546] PHP Fatal error: Uncaught RuntimeException: Route collector cache file directory `/var/www/html/cache` is not writable in /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollector.php:172 \nStack trace:\n#0 /var/www/html/public/index.php(54): Slim\\Routing\\RouteCollector->setCacheFile('/var/www/html/c...')\n#1 {main}\n thrown in /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollector.php on line 172 I have permission 777 on /cache/ What is the proper file permissions for the directory structure? My domain is just blank and not rendering anything: http://www.argilus.tk/ Link to comment Share on other sites More sharing options...
Tron Posted November 26, 2020 Share Posted November 26, 2020 38 minutes ago, Argilus said: I am getting error I have permission 777 on /cache/ What is the proper file permissions for the directory structure? My domain is just blank and not rendering anything: http://www.argilus.tk/ Hahahaha this was a bitch to set up but I just set it up today. I'll rewrite a guide for Ubuntu since the creator did not create the best guide... Link to comment Share on other sites More sharing options...
Argilus Posted November 26, 2020 Share Posted November 26, 2020 35 minutes ago, Scaly said: Hahahaha this was a bitch to set up but I just set it up today. I'll rewrite a guide for Ubuntu since the creator did not create the best guide... Please DM me. Just a rough guide is good, i'm pretty familiar with linucks. Link to comment Share on other sites More sharing options...
Xiphoid Posted November 26, 2020 Share Posted November 26, 2020 this CMS working fine now... your settings not to be true i guess... Link to comment Share on other sites More sharing options...
Tron Posted November 26, 2020 Share Posted November 26, 2020 9 hours ago, Xiphoid said: this CMS working fine now... your settings not to be true i guess... Have you gotten the wiki to work? Link to comment Share on other sites More sharing options...
Argilus Posted November 26, 2020 Share Posted November 26, 2020 11 hours ago, Xiphoid said: this CMS working fine now... your settings not to be true i guess... Did you make some updates? I am still getting an error. Nothing has been changed. Link to comment Share on other sites More sharing options...
Tron Posted November 26, 2020 Share Posted November 26, 2020 2 hours ago, Argilus said: Did you make some updates? I am still getting an error. Nothing has been changed. What error also that guy is not the developer of this. The developers are two guys that aren’t involved in the community anymore. Link to comment Share on other sites More sharing options...
Argilus Posted November 26, 2020 Share Posted November 26, 2020 34 minutes ago, Scaly said: What error also that guy is not the developer of this. The developers are two guys that aren’t involved in the community anymore. [Wed Nov 25 18:53:13.528137 2020] [php7:error] [pid 65685] [client 10.10.10.4:48546] PHP Fatal error: Uncaught RuntimeException: Route collector cache file directory `/var/www/html/cache` is not writable in /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollector.php:172 \nStack trace:\n#0 /var/www/html/public/index.php(54): Slim\\Routing\\RouteCollector->setCacheFile('/var/www/html/c...')\n#1 {main}\n thrown in /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollector.php on line 172 Link to comment Share on other sites More sharing options...
Argilus Posted November 26, 2020 Share Posted November 26, 2020 35 minutes ago, Scaly said: What error also that guy is not the developer of this. The developers are two guys that aren’t involved in the community anymore. If you tell me how to get it running so i can test it out, I might be able to pull some of the API code from here and integrate it into a better package. However, I don't want to debug general config files at the moment that are missing from the guide. I simply do not know whjat the proper file permissions are. Link to comment Share on other sites More sharing options...
Tron Posted November 27, 2020 Share Posted November 27, 2020 ... chmod 777 cache dude... Link to comment Share on other sites More sharing options...
Argilus Posted November 27, 2020 Share Posted November 27, 2020 1 hour ago, Scaly said: ... chmod 777 cache dude... Cache is already 777.... Link to comment Share on other sites More sharing options...
Xiphoid Posted December 15, 2020 Share Posted December 15, 2020 On 11/27/2020 at 12:00 AM, Argilus said: [Wed Nov 25 18:53:13.528137 2020] [php7:error] [pid 65685] [client 10.10.10.4:48546] PHP Fatal error: Uncaught RuntimeException: Route collector cache file directory `/var/www/html/cache` is not writable in /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollector.php:172 \nStack trace:\n#0 /var/www/html/public/index.php(54): Slim\\Routing\\RouteCollector->setCacheFile('/var/www/html/c...')\n#1 {main}\n thrown in /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollector.php on line 172 create cache folder manually Link to comment Share on other sites More sharing options...
Kamus Posted February 20, 2021 Share Posted February 20, 2021 On 5/23/2020 at 4:46 PM, Lathelmar said: Thanks ! To summarize the installation : Download Xampp Start Xampp, and start Apache/Mysql Download the repository (https://bitbucket.org/ramlethalss/intersectcms/downloads/) Unzip the file content to a folder in htdocs (Xampp\htdocs\IntersectCMS for example) Open Xampp\apache\conf\extra\httpd-vhosts.conf Add this : <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs/IntersectCMS/public" ServerName IntersectCMS.localhost <Directory "C:/xampp/htdocs/IntersectCMS/public"> </Directory> </VirtualHost> Customize DocumentRoot and Directory to your xampp IntersectCMS public directory ServerName could be everything you want if your website is local (like MyGame.local or MyMMORPG.localhost...) Restart Apache Open C:\Windows\System32\drivers\etc\host file Add this at the end : 127.0.0.1 IntersectCMS.localhost Replace IntersectCMS.localhost by your ServerName If you can't save the file, close it, copy it on your desk, edit it again, save, and copy it again to your etc folder On Xampp Control panel, clic on Admin button, on the MySQL line Create a new database Execute the cms_database.sql, and then the patch_1.sql Open the table cms_settings Edit base_url, api_username, api_password, and api_server to your needs Open Xampp\htdocs\IntersectCMS\App\Controllers\Preferences.php Replace the DB settings by yours Voilà ! I got this error, following all the instructions, anyway to solve it? Spoiler Slim Application Error The application could not run because of the following error: Details Type: ParseError Code: 0 Message: syntax error, unexpected namespaced name "implements\IteratorAggregate", expecting "{" File: C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\OODBBean.php Line: 33 Trace #0 C:\xampp\htdocs\InmortalTower\vendor\composer\ClassLoader.php(322): Composer\Autoload\includeFile('C:\\xampp\\htdocs...') #1 C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\Repository.php(402): Composer\Autoload\ClassLoader->loadClass('RedBeanPHP\\OODB...') #2 C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\Repository\Fluid.php(289): RedBeanPHP\Repository->dispense('cms_news') #3 C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\Repository.php(629): RedBeanPHP\Repository\Fluid->load('cms_news', '1') #4 C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\Repository.php(448): RedBeanPHP\Repository->convertToBeans('cms_news', Array) #5 C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\OODB.php(333): RedBeanPHP\Repository->find('cms_news', Array, 'ORDER BY date D...', Array) #6 C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\Finder.php(199): RedBeanPHP\OODB->find('cms_news', Array, 'ORDER BY date D...', Array) #7 C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\Facade.php(1010): RedBeanPHP\Finder->find('cms_news', 'ORDER BY date D...', Array) #8 C:\xampp\htdocs\InmortalTower\application\App\Controllers\HomeController.php(41): RedBeanPHP\Facade::findAll('cms_news', 'ORDER BY date D...') #9 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\Handlers\Strategies\RequestResponse.php(43): App\Controllers\HomeController->home(Object(Nyholm\Psr7\ServerRequest), Object(Nyholm\Psr7\Response), Array) #10 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\Routing\Route.php(381): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Nyholm\Psr7\ServerRequest), Object(Nyholm\Psr7\Response), Array) #11 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\MiddlewareDispatcher.php(81): Slim\Routing\Route->handle(Object(Nyholm\Psr7\ServerRequest)) #12 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\MiddlewareDispatcher.php(81): Slim\MiddlewareDispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #13 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\Routing\Route.php(341): Slim\MiddlewareDispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #14 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\Routing\RouteRunner.php(84): Slim\Routing\Route->run(Object(Nyholm\Psr7\ServerRequest)) #15 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\Middleware\RoutingMiddleware.php(60): Slim\Routing\RouteRunner->handle(Object(Nyholm\Psr7\ServerRequest)) #16 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\MiddlewareDispatcher.php(140): Slim\Middleware\RoutingMiddleware->process(Object(Nyholm\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner)) #17 C:\xampp\htdocs\InmortalTower\vendor\slim\twig-view\src\TwigMiddleware.php(125): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Nyholm\Psr7\ServerRequest)) #18 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\MiddlewareDispatcher.php(140): Slim\Views\TwigMiddleware->process(Object(Nyholm\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #19 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\Middleware\ErrorMiddleware.php(107): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Nyholm\Psr7\ServerRequest)) #20 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\MiddlewareDispatcher.php(140): Slim\Middleware\ErrorMiddleware->process(Object(Nyholm\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #21 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\MiddlewareDispatcher.php(81): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Nyholm\Psr7\ServerRequest)) #22 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\App.php(215): Slim\MiddlewareDispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #23 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\App.php(199): Slim\App->handle(Object(Nyholm\Psr7\ServerRequest)) #24 C:\xampp\htdocs\InmortalTower\public\index.php(179): Slim\App->run() #25 {main} Link to comment Share on other sites More sharing options...
Cocolharicot Posted March 9, 2021 Share Posted March 9, 2021 Hello, Everything was installed perfectly, the APIs also seen that it finds the server open and sees the list of players. On the other hand, big problem, impossible to connect with his game account and even create an account. Link to comment Share on other sites More sharing options...
Worldofjimmy Posted March 10, 2021 Share Posted March 10, 2021 (edited) On 2/20/2021 at 11:51 PM, Kamus said: I got this error, following all the instructions, anyway to solve it? Hide contents Slim Application Error The application could not run because of the following error: Details Type: ParseError Code: 0 Message: syntax error, unexpected namespaced name "implements\IteratorAggregate", expecting "{" File: C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\OODBBean.php Line: 33 Trace #0 C:\xampp\htdocs\InmortalTower\vendor\composer\ClassLoader.php(322): Composer\Autoload\includeFile('C:\\xampp\\htdocs...') #1 C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\Repository.php(402): Composer\Autoload\ClassLoader->loadClass('RedBeanPHP\\OODB...') #2 C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\Repository\Fluid.php(289): RedBeanPHP\Repository->dispense('cms_news') #3 C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\Repository.php(629): RedBeanPHP\Repository\Fluid->load('cms_news', '1') #4 C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\Repository.php(448): RedBeanPHP\Repository->convertToBeans('cms_news', Array) #5 C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\OODB.php(333): RedBeanPHP\Repository->find('cms_news', Array, 'ORDER BY date D...', Array) #6 C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\Finder.php(199): RedBeanPHP\OODB->find('cms_news', Array, 'ORDER BY date D...', Array) #7 C:\xampp\htdocs\InmortalTower\vendor\gabordemooij\redbean\RedBeanPHP\Facade.php(1010): RedBeanPHP\Finder->find('cms_news', 'ORDER BY date D...', Array) #8 C:\xampp\htdocs\InmortalTower\application\App\Controllers\HomeController.php(41): RedBeanPHP\Facade::findAll('cms_news', 'ORDER BY date D...') #9 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\Handlers\Strategies\RequestResponse.php(43): App\Controllers\HomeController->home(Object(Nyholm\Psr7\ServerRequest), Object(Nyholm\Psr7\Response), Array) #10 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\Routing\Route.php(381): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Nyholm\Psr7\ServerRequest), Object(Nyholm\Psr7\Response), Array) #11 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\MiddlewareDispatcher.php(81): Slim\Routing\Route->handle(Object(Nyholm\Psr7\ServerRequest)) #12 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\MiddlewareDispatcher.php(81): Slim\MiddlewareDispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #13 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\Routing\Route.php(341): Slim\MiddlewareDispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #14 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\Routing\RouteRunner.php(84): Slim\Routing\Route->run(Object(Nyholm\Psr7\ServerRequest)) #15 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\Middleware\RoutingMiddleware.php(60): Slim\Routing\RouteRunner->handle(Object(Nyholm\Psr7\ServerRequest)) #16 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\MiddlewareDispatcher.php(140): Slim\Middleware\RoutingMiddleware->process(Object(Nyholm\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner)) #17 C:\xampp\htdocs\InmortalTower\vendor\slim\twig-view\src\TwigMiddleware.php(125): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Nyholm\Psr7\ServerRequest)) #18 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\MiddlewareDispatcher.php(140): Slim\Views\TwigMiddleware->process(Object(Nyholm\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #19 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\Middleware\ErrorMiddleware.php(107): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Nyholm\Psr7\ServerRequest)) #20 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\MiddlewareDispatcher.php(140): Slim\Middleware\ErrorMiddleware->process(Object(Nyholm\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #21 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\MiddlewareDispatcher.php(81): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Nyholm\Psr7\ServerRequest)) #22 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\App.php(215): Slim\MiddlewareDispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #23 C:\xampp\htdocs\InmortalTower\vendor\slim\slim\Slim\App.php(199): Slim\App->handle(Object(Nyholm\Psr7\ServerRequest)) #24 C:\xampp\htdocs\InmortalTower\public\index.php(179): Slim\App->run() #25 {main} I got the same error, any solutions? edit: found that php version 8.0 seems to cause the problem. Changed php version to 7.2 seemed to fix the problem. Edited March 10, 2021 by Worldofjimmy found possible solution Link to comment Share on other sites More sharing options...
Kamus Posted March 10, 2021 Share Posted March 10, 2021 1 hour ago, Worldofjimmy said: edit: found that php version 8.0 seems to cause the problem. Changed php version to 7.2 seemed to fix the problem. Where and how i can change/download that version? (idk how to do that) Link to comment Share on other sites More sharing options...
Worldofjimmy Posted March 14, 2021 Share Posted March 14, 2021 On 3/10/2021 at 10:14 PM, Kamus said: Where and how i can change/download that version? (idk how to do that) Im have cpanel for my web hosting where it allows me to switch php version. If you have the same then you just need to google "cpanel change php version". Link to comment Share on other sites More sharing options...
Worldofjimmy Posted March 14, 2021 Share Posted March 14, 2021 Im getting Api error on the CMSwebsite and don't really know what is wrong. I can make post requests via Postman via local and external IP successfully. In CMS database settings, should the api_password be the plain password? or sha256? Should API_server be the IP? http:// and the same IP that I access for the API? Link to comment Share on other sites More sharing options...
XFallSeane Posted March 15, 2021 Share Posted March 15, 2021 22 hours ago, Worldofjimmy said: Im getting Api error on the CMSwebsite and don't really know what is wrong. I can make post requests via Postman via local and external IP successfully. In CMS database settings, should the api_password be the plain password? or sha256? Should API_server be the IP? http:// and the same IP that I access for the API? Hi In cms db, you need enter the ip in default_value and value. Plain password needed. In your server you can give api access for specific user account (cmd in API DOC) We recommend this configuration in api.config.json : { "RouteAuthorization": {}, "Hosts": [ "http://localhost:5400", "*:5400" ], "Cors": [], "DataProtectionKey": "yourkey", "Enabled": true, "DebugMode": false, "SeedMode": false, "RefreshTokenLifetime": 30, "ThrottlePolicy": { "IpThrottling": false, "IpWhitelist": [], "IpRules": {}, "ClientThrottling": false, "ClientWhitelist": [], "ClientRules": { "test": { "PerSecond": 50, "PerMinute": 50, "PerHour": 0, "PerDay": 0, "PerWeek": 0 } }, "EndpointThrottling": false, "EndpointWhitelist": [], "EndpointRules": { "/api/oauth/token": { "PerSecond": 1, "PerMinute": 5, "PerHour": 0, "PerDay": 0, "PerWeek": 0 } }, "StackBlockedRequests": false, "Rates": { "Second": 1, "Minute": 60 } }, "FallbackClientKey": "test", "RequestLogLevel": 128 } I work on a total rework for Intersect CMS with several optimization and bug correction. Two official game work with my version of Intersect CMS. I publish soon a post for Rework Intersect CMS. Kamus and Worldofjimmy 1 1 Link to comment Share on other sites More sharing options...
jcsnider Posted March 15, 2021 Share Posted March 15, 2021 Note.. if running on Windows and you use the *:5400 endpoint you probably have to run the server as Admin for it to work. Kamus and Worldofjimmy 1 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now