Error when recording a new manufacturer

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Hi

NOP 3.9
English and French language installed
no plugin
SQL server 2014 R2
FireFox

Process:
I just created a new manufacturer
English language
French keyboard
Windows 10 En
I wrote english titles (Name captions) and save it : OK
I insert a description french text in Franch tab. save ord it : OK
I insert SEO fields for english and french tabs. save : OK
I change display order number to '3'
I insert the main photo (40ko) for this manufacturer : save : NOK

Message error:

Blank screen with: "

We're sorry, an internal error occurred.

Our supporting staff has been notified of this error and will address the issue shortly.

We apologize for the inconvenience.

Please try clicking your browsers 'back' button or try reloading the home page.

If you continue to receive this message, please try again in a little while.

Thank you for your patience.
"


I try to see if data and photos are well recorded. For that:
-open a new tab in FireFox
-See the web site then manufacturers list
-All is OK with the photo as well.

Go back to the first tab in FireFox:
I delete the photo. save it : NOK
I insert the photo again : save it : NOK
I change the current language to french : save : OK
I change language to English. Record it : NOK
I change the current language to french : save : OK

Problem when saving in other language tha the current?

Luc
7 years ago
Hi
In addition:
Another manufacturer already created with Nop3.8 can be updated in EN or FR language.
I changed for this one the field "Page Size options" and the field "published". No problem to save changes.

BUT:


I try to change photo of the manufacturer in error (created yesterday in Nop3.9):
Then saving in EN : NOK
in French: NOK
Already the same message of error.

Details:
Yesterday, before creating the new manufacturer, I changed all valors for a word in a new one in all languages. (Author -> Artisan)
7 years ago
Hi Didier,

I cannot reproduce the issue. It works fine. Olease see our FAQ about "We're sorry, an internal error occurred" error:

To find out what went wrong you need to turn off the custom errors mode.
1. Open web.config file
2. Find out the following line <customErrors defaultRedirect="errorpage.htm" mode="RemoteOnly">
3. Replace it with <customErrors defaultRedirect="errorpage.htm" mode="Off">

Also, check Admin > System > Log for any errors.
7 years ago
Hi Andrei

Thank you for your response.
Sorry for the delay of this test.

I did you recommandation. It's fine.

now, onlys with this manufacturer created with NOP 3.9, I've the error message more detailed :

"Server Error in '/' Application.
Access to the path 'C:\files\Store-us\Store-Us\content\images\thumbs\0000031.jpeg' is denied. "

Testing now with the former manufacturer created before with Nop3.8 : no error, with the same change in the tab.


the change done is:
Page Size options set from '3, 6, 9' to '6, 9'
I never change the photos.
7 years ago
I precise that the serveice account and the user used have write/modfy access to this folder.
I'm just investigating on security rights on the server
7 years ago
FIX

It seems, this folder "..\Content\images\"  needs to have IIS_IUSRS(...) with "Write/modify" rights more that the other folders.

It seems write is needed to add a new image,
and modify is neede to update thumbs file.

It's my solution to fix this issue
But why dosn't appear this issue with nop 3.8 ?
And not yet in Nop 3.9 using Nop 3.8 photos ?

If you aggree with that,

Thank you Andrei for your help

Luc

PS.: I set "<customErrors defaultRedirect="errorpage.htm" mode="RemoteOnly">" again.
7 years ago
Hepil wrote:
I precise that the serveice account and the user used have write/modfy access to this folder.
I'm just investigating on security rights on the server


Sorry, just a precision in my text :

"I precise that the service account and the user IIS_IUSRS(...) have only read and execute rights to this folder."
7 years ago
Please go to admin area > system > warnigns. If you don't have some permissions, then you'll appropriate notifications
7 years ago
Andrei

Thank you for your response.

In "admin/system/warnings" I've a list of items (no date of the notification)


The current list is:



Specified store URL matches this store URL

Primary exchange rate currency is set

Primary store currency is set

Default weight is set

Default weight. The ratio should be set to 1.

Default dimension is set

Default dimension. The ratio should be set to 1.

Payment methods are OK

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on folder '..\Store-us\Store-Us\App_Data'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on folder '..\Store-us\Store-Us\Administration\db_backups'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on folder '..\Store-us\Store-Us\bin'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on folder '..\Store-us\Store-Us\content'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on folder '..\Store-us\Store-Us\content\files\exportimport'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on folder '..\Store-us\Store-Us\plugins'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on folder '..\Store-us\Store-Us\plugins\bin'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on file '..\Store-us\Store-Us\Global.asax'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on file '..\Store-us\Store-Us\web.config'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on file '..\Store-us\Store-Us\App_Data\InstalledPlugins.txt'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on file '..\Store-us\Store-Us\App_Data\Settings.txt'. Please configure these permissions.

A custom machine key is not specified (web.config file)



I don't know if it's always anabled today.
Is this list updated at a regular process?
Is it a log?  Present items are there even if they are already fixed?

It seems all is right today.
regards
Luc
7 years ago
Hepil wrote:
The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on folder '..\Store-us\Store-Us\App_Data'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on folder '..\Store-us\Store-Us\Administration\db_backups'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on folder '..\Store-us\Store-Us\bin'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on folder '..\Store-us\Store-Us\content'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on folder '..\Store-us\Store-Us\content\files\exportimport'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on folder '..\Store-us\Store-Us\plugins'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on folder '..\Store-us\Store-Us\plugins\bin'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on file '..\Store-us\Store-Us\Global.asax'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on file '..\Store-us\Store-Us\web.config'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on file '..\Store-us\Store-Us\App_Data\InstalledPlugins.txt'. Please configure these permissions.

The 'IIS APPPOOL\Store-Us' account is not granted with Modify permission on file '..\Store-us\Store-Us\App_Data\Settings.txt'. Please configure these permissions

Hi Luc,

You have the fix these ones.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.