Admin interface stuck?
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Re: Admin interface stuck?
As I mentioned, fixing that error created a new error. I still only get the Loading... square. Not I get an error related to the actual HTML in the response.
See attached screenshot...
Code: Select all
Uncaught SyntaxError: Unexpected token < admin:1
- Attachments
-
- Screen Shot 2015-11-02 at 7.24.36 PM.png (188.1 KiB) Viewed 8072 times
Re: Admin interface stuck?
Something seems to be really messed up. Can you make a screenshot of the loaded URLs in the "Network" tab from the Chrome developer tools, please?swpierce wrote:Code: Select all
Uncaught SyntaxError: Unexpected token < admin:1
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Admin interface stuck?
I attached a screenshot of the XHR requests. I can grab the other requests also if needed - 80 total.
Thanks again for helping me out!
Thanks again for helping me out!
- Attachments
-
- Screen Shot 2015-11-03 at 6.45.24 AM.png (139.45 KiB) Viewed 8069 times
Re: Admin interface stuck?
There are a lot of XHR request that are not related to Aimeos. Did you've integrated it into another application? If yes, could you please make a setup of Laravel/Aimeos only first?swpierce wrote:I attached a screenshot of the XHR requests. I can grab the other requests also if needed - 80 total
The only Aimeos XHR request is "index.php/admin/do". If it returns the index page, then the wrong URL is fetched internally (either due to the web server or the Laravel application).
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Admin interface stuck?
No. The only thing in that directory is Aimeos.
I installed Composer.
I installed Laravel.
I ran "laravel new storefront"
I created an empty database and modified .env accordingly.
I modified the composer.json with the Aimeos stuff required.
I ran composer update.
I modified app.php to include the provider.
I ran php artisan vendor:publish
I ran php artisan migrate
I ran php artisan aimeos:setup --option=setup/default/demo:1
I ran php artisan aimeos:cache
I modified composer.json to install Bestmomo\Scafold so as to have the app.blade.php etc.
I ran composer update
I modified app.php to include the Bestmomo Scafold provider.
I ran php artisan vendor:publish
I modified the app.blade.php to include the required Aimeos stuff.
I modified my http virtual host configuration to make the public folder in the laravel project the root.
I opened storefront.dev/index.php/list - ran into csrf-related error.
I modified Kernel.php to move csrf-related stuff to routeMiddleware.
I tried storefront.dev/index.php/list again - no problem - store works great.
I opened storefront.dev/index.php/admin - doesn't work.
I made no other changes and installed no other packages.
I installed Composer.
I installed Laravel.
I ran "laravel new storefront"
I created an empty database and modified .env accordingly.
I modified the composer.json with the Aimeos stuff required.
I ran composer update.
I modified app.php to include the provider.
I ran php artisan vendor:publish
I ran php artisan migrate
I ran php artisan aimeos:setup --option=setup/default/demo:1
I ran php artisan aimeos:cache
I modified composer.json to install Bestmomo\Scafold so as to have the app.blade.php etc.
I ran composer update
I modified app.php to include the Bestmomo Scafold provider.
I ran php artisan vendor:publish
I modified the app.blade.php to include the required Aimeos stuff.
I modified my http virtual host configuration to make the public folder in the laravel project the root.
I opened storefront.dev/index.php/list - ran into csrf-related error.
I modified Kernel.php to move csrf-related stuff to routeMiddleware.
I tried storefront.dev/index.php/list again - no problem - store works great.
I opened storefront.dev/index.php/admin - doesn't work.
I made no other changes and installed no other packages.
Re: Admin interface stuck?
Can you redo the whole stuff but leave out the Bestmomo stuff? You can create the app.blade.php according to the docs:swpierce wrote: I modified composer.json to install Bestmomo\Scafold so as to have the app.blade.php etc.
I ran composer update
I modified app.php to include the Bestmomo Scafold provider.
https://aimeos.org/docs/Laravel/Adapt_base_template
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Admin interface stuck?
Sure. I'll give it a shot!
Re: Admin interface stuck?
Reinstall without using Bestmomo Scafold seems to have done the trick. Thanks for all the help!