-
-
Notifications
You must be signed in to change notification settings - Fork 83
404 in dev, not in production #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Do you have any documents ?Thank you! |
just adjust the $canImportResource in nova resources
|
@beiaduo have you customised your Nova menu by any chance? If so, you will need to manually add the tool link to your menu |
Just default ,I can see import menu, when I click It ,it show me 404,but when I uploaded to server ,it is working, I don't know why,Just local 404, I will clear cache to retry, Thank you |
@beiaduo that's strange. There's nothing in the package that differentiates between local and production (iirc) so I suggest there's something peculiar happening in your local environment Hope you can get to the bottom of it. Please share what you find here |
same as @beiaduo |
@mihaileu You mean it works fine on your production server but not on your local dev environment? |
I acknowledge the error. The situation is similar |
Change in ImportController.php getAvailableFieldsForImport function
|
Same here. once I import a tiny CSV file, I get redirected to a 404 page.. the URL I have been redirected to: http://127.0.0.1:8000/dashboard/csv-import/configure/43937a4ef0d4743f485d25156ff5eb0d.csv |
ChatGPT just told me how to fix the error, threw off the option above, it worked for me immediately as soon as I changed the path where I changed \vendor\simonhamp\laravel-nova-csv-import\src\Http\Controllers |
Show me the full php resource code please...
…On Mon, Jul 3, 2023, 5:45 PM Brissan ***@***.***> wrote:
То же самое здесь. как только я импортирую крошечный CSV-файл, я
перенаправляюсь на страницу 404 .. URL, на который я был перенаправлен:
*http://127.0.0.1:8000/dashboard/csv-import/configure/43937a4ef0d4743f485d25156ff5eb0d.csv
<http://127.0.0.1:8000/dashboard/csv-import/configure/43937a4ef0d4743f485d25156ff5eb0d.csv>*
ChatGPT just told me how to fix the error, threw off the option above, it
worked for me immediately as soon as I changed the path where I changed
\vendor\simonhamp\laravel-nova-csv-import\src\Http\Controllers
—
Reply to this email directly, view it on GitHub
<#69 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABDLT27AZZBQIU3HEKQWGFLXOLLKBANCNFSM6AAAAAAZIWMO3M>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
I dont understand you , your file is exactly as my file. What the file you cahnged@ |
Sorry sir, I have been working in other places recently and have not taken time to check. I will definitely check when I get home, and then report back all the information. Thank you for your reply |
1 composer require simonhamp/laravel-nova-csv-import --with-all-dependencies
2 new LaravelNovaCsvImport,
The text was updated successfully, but these errors were encountered: