aimeos / aimeos-slim Goto Github PK
View Code? Open in Web Editor NEWSlim PHP package for professional, ultra fast online shops
Home Page: https://aimeos.org/SlimPHP
License: GNU Lesser General Public License v3.0
Slim PHP package for professional, ultra fast online shops
Home Page: https://aimeos.org/SlimPHP
License: GNU Lesser General Public License v3.0
from install:
cp -r vendor/aimeos/aimeos-core/client/html/themes/* public/aimeos/themes/
cp -r vendor/aimeos/aimeos-core/admin/jqadm/themes/* public/aimeos/themes/
cp -r vendor/aimeos/aimeos-core/admin/extjs/lib/* public/aimeos/extjs/lib/
cp -r vendor/aimeos/aimeos-core/admin/extjs/lib/* public/aimeos/admin/extjs/lib/
Client present, but where is admin folder?
Hi I was evaluating slim's functionality in one complete application, I have several web projects (CI, Magento, etc.) all on htdocs and I am using xampp
I followed the instruction on the readme, I was able to install the database, and setup httpd.conf to point my aimeos-slim
# virtual host being defined.
#
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/aimeos/public"
ServerName slimtest.dev
ServerAlias www.slimtest.dev
<Directory "c:/xampp/htdocs/aimeos/public">
AllowOverride All
Require all Granted
</Directory>
</VirtualHost>
I even followed the pertinents setup(s) here slimphp/Slim#2294
I can't get the admin to work http://www.slimtest.dev/admin/
Page Not Found
The page you are looking for could not be found. Check the address bar to ensure your URL is spelled correctly. If all else fails, you can visit our home page at the link below.
Visit the Home Page
but the http://www.slimtest.dev/detail/5/Demo_bundle_article/2 works fine !
php vendor/aimeos/aimeos-core/setup.php --config=src/aimeos-settings.php --option=setup/default/demo:1
Caught PHP error while processing setup:
" failed: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"mshop_locale_site" (
-- unique site id
"id" INTEGER NOT NULL AUTO_INCREMENT,
' at line 1
mysql -V
mysql Ver 14.14 Distrib 5.5.49, for debian-linux-gnu (x86_64) using readline 6.3
After composer update
and all setup steps try inter site but get Slim Application Error
Slim Application Error
The application could not run because of the following error:
Details
Type: FastRoute\BadRouteException
Message: Static route "/admin" is shadowed by previously defined variable route "/([^/]+)" for method "GET"
File: /var/www/test.local/slimfm/vendor/nikic/fast-route/src/DataGenerator/RegexBasedAbstract.php
Line: 64
Trace
#0 /var/www/test.local/slimfm/vendor/nikic/fast-route/src/DataGenerator/RegexBasedAbstract.php(18): FastRoute\DataGenerator\RegexBasedAbstract->addStaticRoute('GET', Array, 'route1')
#1 /var/www/test.local/slimfm/vendor/nikic/fast-route/src/RouteCollector.php(33): FastRoute\DataGenerator\RegexBasedAbstract->addRoute('GET', Array, 'route1')
#2 /var/www/test.local/slimfm/vendor/slim/slim/Slim/Router.php(159): FastRoute\RouteCollector->addRoute(Array, '/admin', 'route1')
#3 /var/www/test.local/slimfm/vendor/nikic/fast-route/src/functions.php(24): Slim\Router->Slim\{closure}(Object(FastRoute\RouteCollector))
#4 /var/www/test.local/slimfm/vendor/slim/slim/Slim/Router.php(162): FastRoute\simpleDispatcher(Object(Closure), Array)
#5 /var/www/test.local/slimfm/vendor/slim/slim/Slim/Router.php(146): Slim\Router->createDispatcher()
#6 /var/www/test.local/slimfm/vendor/slim/slim/Slim/App.php(511): Slim\Router->dispatch(Object(Slim\Http\Request))
#7 /var/www/test.local/slimfm/vendor/slim/slim/Slim/App.php(435): Slim\App->dispatchRouterAndPrepareRoute(Object(Slim\Http\Request), Object(Slim\Router))
#8 /var/www/test.local/slimfm/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(116): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#9 /var/www/test.local/slimfm/vendor/slim/slim/Slim/App.php(337): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#10 /var/www/test.local/slimfm/vendor/slim/slim/Slim/App.php(298): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#11 /var/www/test.local/slimfm/public/index.php(32): Slim\App->run()
#12 {main}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.