Dan
Advanced Member
Canada
106 Posts Pre-sales questions only (More Details...)
|
Posted - 02/22/2018 : 16:45:41
Hello all;
Just updated my site from php 6.5.5 to 6.8.4
All looks good.... but When I go to update the products or add new ones, I get this error message
[red]You don't have permission to access /vsadmin/adminprods.php on this server.[/red]
[red]Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.[/red]
MYSQL Data base permissions are as they were prior to update.
At same time I get this from cPanel error reporting
[Thu Feb 22 15:54:12 2018] [error] [client 204.174.222.3] File does not exist: /home/vhosts/customfitwaders/public_html/404.shtml, referer: https://www.customfitwaders.com/vsadmin/login.php
[Thu Feb 22 15:54:12 2018] [error] [client 204.174.222.3] File does not exist: /home/vhosts/customfitwaders/public_html/vsadmin/ectadmincustom.css, referer: https://www.customfitwaders.com/vsadmin/login.php
Admin panel points to https://www.customfitwaders.com includes has : $orstoreurlss="https://www.customfitwaders.com./";
Updater was run from "Public" in cPanel server files.
Help please.
Dan
|
Sinbad
ECT Moderator
USA
65937 Posts |
Posted - 02/22/2018 : 17:42:26
Hi Dan, can you try uploading the files to the server again using a ftp program like Filezilla make sure to overwrite the current files. This error is correct as that file is not included in the current updater, File does not exist: /home/vhosts/customfitwaders/public_html/vsadmin/ectadmincustom.css. The reference is there for users to create their own custom css file with the same name. You can create a blank ectadmincustom.css and upload it to the vsadmin folder and that will stop the error from occurring. Winners never quit, quitters never win CSS and Responsive DesignsUser Manual for Ecommerce Templates
|
Dan
Advanced Member
Canada
106 Posts Pre-sales questions only (More Details...)
|
Posted - 02/23/2018 : 00:45:44
Hi created a blank ectadmincustom.css and uploaded it to the vsadmin folder
Sadly I am still getting this message [red]You don't have permission to access /vsadmin/adminprods.php on this server.[/red]
This occurs when I attempt to add a new product or alter and existing one.
I am out of ideas. (which doesn't take much)
Any help would be appreciated please.
Dan
Edited by - Dan on 02/23/2018 01:22:40
|
Andy
ECT Moderator
95440 Posts |
Posted - 02/23/2018 : 01:22:38
|
Dan
Advanced Member
Canada
106 Posts Pre-sales questions only (More Details...)
|
Posted - 02/23/2018 : 01:26:12
They were less than helpful. Back to the "product supplier" should resolve the issue. Very frustrating.
Can I change the permissions via the cPanel?
Dan
|
Andy
ECT Moderator
95440 Posts |
Posted - 02/23/2018 : 02:07:44
|
Dan
Advanced Member
Canada
106 Posts Pre-sales questions only (More Details...)
|
Posted - 02/23/2018 : 10:18:09
Going through my notes again;
AFTER the updater, I went to the store Admin Settings.
There I found a message in red that said that the CSS would handle the info that was needed and as shown on the Admin Settings page, and I should change the Includes.php file so that $pathtossl="https://www.xxx/"; would be changed to: $orstoreurlss="https://www.xxx/" FROM: $pathtossl="https://www.xxx/"; this was done.
Originally Admin was set as: STORE URL: http://www.xxx/ The notation said: This should be the base URL of the secure / HTTPS part of your site. Many payment processors do not require your checkout to be on HTTPS, but it is becoming increasingly recommended. and HTTPS Store URL: was set to https://www.xxx/
NOW the store settings are: STORE URL: https://www.xxx/ HTTPS Store URL: was set to https://www.xxx/
The red text warning went away, but not sure if it was the change to includes or the change to the store URL to the https
Have these changes from the original caused the problems
Note: adminprods.php access settings are 644 on server
Edited by - Dan on 02/23/2018 10:23:35
|
Sinbad
ECT Moderator
USA
65937 Posts |
Posted - 02/23/2018 : 11:38:54
|
Dan
Advanced Member
Canada
106 Posts Pre-sales questions only (More Details...)
|
Posted - 02/23/2018 : 12:28:07
cPanel PHP Version 5.5 Also they would like to know which Permissions?
Control Panel MySQL Version: 5.5.58-cll PHP Version: 5.5.31
Edited by - Dan on 02/23/2018 12:33:46
|
Sinbad
ECT Moderator
USA
65937 Posts |
Posted - 02/23/2018 : 12:37:15
Hi can you have the php upgraded to at least 7.0 or 7.1 quote: That is the bare minimum but if available I would look to be using 7.1 https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=109233
644 means that files are readable and writeable by the owner of the file and readable by users in the group owner of that file and readable by everyone else. Winners never quit, quitters never win CSS and Responsive DesignsUser Manual for Ecommerce Templates
|
Dan
Advanced Member
Canada
106 Posts Pre-sales questions only (More Details...)
|
Posted - 02/23/2018 : 13:16:04
On my side? I will try.
Or do you mean their side and/or both
Dan
|
Sinbad
ECT Moderator
USA
65937 Posts |
Posted - 02/23/2018 : 13:26:41
Hi the host should be able to help you with that, or by using their cpanel. Do check that the database connection and includes are using the correct syntax as shown here https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=107737 Winners never quit, quitters never win CSS and Responsive DesignsUser Manual for Ecommerce Templates
|
Dan
Advanced Member
Canada
106 Posts Pre-sales questions only (More Details...)
|
Posted - 02/23/2018 : 13:31:31
I have been thinking about this. Would updating the PHP version on my side not be adding yet another layer of possible problems?
Are we confident enough that this is the fix?
They emailed back and are asking again for the "source asking the permission" as according to them, their are several possible.
Also, would it be possible to get a response about the changes to Product Admin questions shown above and the changes?
$pathtossl="https://www.XXX/";
changed to: $orstoreurlss="https://www.XXX/"
Edited by - Dan on 02/23/2018 13:38:51
|
Sinbad
ECT Moderator
USA
65937 Posts |
Posted - 02/23/2018 : 13:42:28
Hi I am not saying that it will fix permission problems, permissions are a hosting configuration the scripts do not determine the webserver permissions only obeys them. upgrading the php especially with ect 6.8.4 is going to be a better solution to avoid compatibility issues. Winners never quit, quitters never win CSS and Responsive DesignsUser Manual for Ecommerce Templates
|
Dan
Advanced Member
Canada
106 Posts Pre-sales questions only (More Details...)
|
Posted - 02/23/2018 : 14:14:13
Hi Sinbad
RE: Do check that the database connection and includes are using the correct syntax as shown here https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=107737
I checked both files on server side and they are formatted as per spec above. the dbconnectopen file is pointing to the correct db.
|
Sinbad
ECT Moderator
USA
65937 Posts |
Posted - 02/23/2018 : 14:40:45
|
Dan
Advanced Member
Canada
106 Posts Pre-sales questions only (More Details...)
|
Posted - 02/23/2018 : 14:52:15
Hi Sinbad
In the meantime, could you answer the questions from above about changes to Admin Settings.
|
Sinbad
ECT Moderator
USA
65937 Posts |
Posted - 02/23/2018 : 15:04:11
Hi its not necessary to set the pathtossl in the includes and this $orstoreurlss is probably not doing anything the original parameter shown below, so if the site is on SSL you only need to define it in the admin main settings not in the includes.php - unless you need to over-ride the admin main settings for a second store If you need to set up a second store on the same server but for a different domain then use the setting $orstoreurl="http://www.mysecondsite.com"; or $orstoreurl="https://www.mysecondsite.com"; Winners never quit, quitters never win CSS and Responsive DesignsUser Manual for Ecommerce Templates
|
Dan
Advanced Member
Canada
106 Posts Pre-sales questions only (More Details...)
|
Posted - 02/23/2018 : 15:30:35
Hi Changed it back to:
$pathtossl="https://www.XXX/";
FROM
$orstoreurlss="https://www.XXX/"
And now get this message again: [red]You have the parameter "$pathtossl" set in your includes.php file. This parameter is no longer used as the parameter is set here in admin. If you wish to override the parameter, use "$orstoreurlssl"[/red].So should I change it back or is something else going on?
|
Paradise
Ecommerce Template Guru
USA
1602 Posts Pre-sales questions only (More Details...)
|
Posted - 02/23/2018 : 15:46:46
Do you have a second store?
Responsive Design Deals Ecomm Plus - ASP 6.8 www.paradiseclothingco.com
|
Dan
Advanced Member
Canada
106 Posts Pre-sales questions only (More Details...)
|
Posted - 02/23/2018 : 16:02:10
Hi Paradise
No I don't
Edited by - Dan on 02/23/2018 16:02:35
|
|