UrlGenerator.php line 603:
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!
UrlGenerator.php line 603:
Hi
I just saw this package today and wanted to try it out
To the best of my knowledge i did follow the instructions
But I get a exception when I try to access the site
My setup is like this:
Windows 10
WAMP
Composer is installed and working
What I did:
1) laravel new aimeos (laravel version 5.2.20)
2) created the database (aimeos)
3) created a local domain aimeos.dev
4) changed .ENV
5) modified composer.json
6) composer update
7) added Aimeos\Shop\ShopServiceProvider::class, to config/app.php
8) Executed the 4 artisan commands
9) created /resources/views/app.blade.php - pasted the code from https://github.com/aimeos/aimeos-larave ... el-package into the file
10) php artisan cache:clear
11) open browser and go to http://aimeos.dev/list
and I get the following error:
ErrorException in UrlGenerator.php line 603:
Action App\Http\Controllers\Auth\AuthController@postLogin not defined. (View: C:\webdev\aimeos\resources\views\app.blade.php) (View: C:\webdev\aimeos\resources\views\app.blade.php) (View: C:\webdev\aimeos\resources\views\app.blade.php)
I get the same result if I use PHP’s internal server
What did I forget ?
If I go to http://aimeos.dev/ I get the ‘clean’ Laravel 5 welcome page - so the site is working
Thanks in advance
Kind regards
Steen
I just saw this package today and wanted to try it out
To the best of my knowledge i did follow the instructions
But I get a exception when I try to access the site
My setup is like this:
Windows 10
WAMP
Composer is installed and working
What I did:
1) laravel new aimeos (laravel version 5.2.20)
2) created the database (aimeos)
3) created a local domain aimeos.dev
4) changed .ENV
5) modified composer.json
6) composer update
7) added Aimeos\Shop\ShopServiceProvider::class, to config/app.php
8) Executed the 4 artisan commands
9) created /resources/views/app.blade.php - pasted the code from https://github.com/aimeos/aimeos-larave ... el-package into the file
10) php artisan cache:clear
11) open browser and go to http://aimeos.dev/list
and I get the following error:
ErrorException in UrlGenerator.php line 603:
Action App\Http\Controllers\Auth\AuthController@postLogin not defined. (View: C:\webdev\aimeos\resources\views\app.blade.php) (View: C:\webdev\aimeos\resources\views\app.blade.php) (View: C:\webdev\aimeos\resources\views\app.blade.php)
I get the same result if I use PHP’s internal server
What did I forget ?
If I go to http://aimeos.dev/ I get the ‘clean’ Laravel 5 welcome page - so the site is working
Thanks in advance
Kind regards
Steen
Re: UrlGenerator.php line 603:
Hmm... i did this
php artisan make:auth
then I created a user and now it works
php artisan make:auth
then I created a user and now it works
Re: UrlGenerator.php line 603:
Thanks for the hint! We've added a note about setting up authentication first in the docs.
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: UrlGenerator.php line 603:
Next issue:
When I go to the admin part, switch to expert mode it never finish loading
When I go to the admin part, switch to expert mode it never finish loading
Re: UrlGenerator.php line 603:
Can you please open the web console in your browser and have a look at the requests and why they fail? The error log of your web server might also be a good source of information.
BTW: Which version of the Aimeos Laravel package do you use?
BTW: Which version of the Aimeos Laravel package do you use?
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: UrlGenerator.php line 603:
Code: Select all
VM119:1 Uncaught SyntaxError: Unexpected token <Ext.util.JSON.doDecode @ ext-all.js:21(anonymous function) @ ext-all.js:21Ext.ux.direct.JsonRpcProvider.Ext.extend.onData @ file?site=default:1422Ext.extend.handleResponse @ ext-all.js:21f @ ext-base.js:21m @ ext-base.js:21(anonymous function) @ ext-base.js:21
Json: "aimeos/aimeos-laravel": "~2016.01",
Re: UrlGenerator.php line 603:
Hmm, what's the response for the HTTP request causing this error?rabol wrote:Code: Select all
VM119:1 Uncaught SyntaxError: Unexpected token <Ext.util.JSON.doDecode @ ext-all.js:21(anonymous function) @ ext-all.js:21Ext.ux.direct.JsonRpcProvider.Ext.extend.onData @ file?site=default:1422Ext.extend.handleResponse @ ext-all.js:21f @ ext-base.js:21m @ ext-base.js:21(anonymous function) @ ext-base.js:21
Yes, that's the current beta version.rabol wrote:I assume that i use the latest version
Json: "aimeos/aimeos-laravel": "~2016.01",
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: UrlGenerator.php line 603:
I'm not sure that I understand your question
i 'simply' goto /admin, and then switch to 'Expert mode'
i 'simply' goto /admin, and then switch to 'Expert mode'
- Attachments
-
- aimenos_error_1.gif (217.73 KiB) Viewed 5933 times
Re: UrlGenerator.php line 603:
In Chrome press Ctrl+Shift+J to open the web console. Go to the network tab and click on "XHR". Reload the page and go to the Preview (or Response) tab to see what the server returns. This should be similar to the attached screen shot.rabol wrote:I'm not sure that I understand your question
- Attachments
-
- aimeos-admin.png (141.7 KiB) Viewed 5926 times
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: UrlGenerator.php line 603:
Sorry it took me a while to figure it out
changing always_populate_raw_post_data to -1 in my php.ini solved the problem
Maybe this should be added to the 'installation hints'
changing always_populate_raw_post_data to -1 in my php.ini solved the problem
Maybe this should be added to the 'installation hints'