- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Alex
Marek
- Private: No
- Open Date: 05.11.16, 17:59
- Opened by: John Evans
- Closed by: Marek
- Closed on: 01.02.17, 10:36
- Reason: Closed
- Comment: Glad to help!
Ticket #10037 - Error modifying product info in B/O
Hi,
I have a strange fault affecting my B/O. If I try to modify (say change an association) in a product details I get an error saying “You don’t have permission to access /admin2471/index.php on this server.
It seems to be to do with the Custom Tab in the product details. If I try to save a product with data in the custom tabs I get the above error. I can save if I disable the product but this wipes out any info in the product tabs. It seems to save ok with the Custom tab turned off in Theme settings/product but does wipe out the custom tab info.
I have tried logging in as a Super admin and an Admin but no change. I do not know when this problem started or what I might have done to cause it.
I am sorry this is so long, I hope you can help me out.
thanks
John Evans
Comments
Hello,
Here is further information.
The problem definately seems to be associated with Custom Tab box in the product section of the B/O. The fault only occurs if there is text in this box. To get round it I delete the text then save the product details. Then I can re-enter the text & all seems well. Products that do not use the Custom tab are not affected.
Also if I change a product (with text in the Custom Tab box) to “disabled” status then the text is wiped away. Is this correct?
As I have got round the problem please reduce the fault status from High.
thanks again
John Evans
Hi. We will try to check the issue and fix it today
Hi John,
I have tried to find fast solution, but unfortunately spend a couple of hours and still have no result. I’ll continue to work on that.
Please provide access to your BO and FTP, I need to see module files
Marek,
B/O & ftp details updated.
Please be aware that this is a new problem that came a few days ago. the site has been working fine up until then. I would not like you to chase a glitch caused by my “finger” trouble.
Also if I change a product (with text in the Custom Tab box) to “disabled” status then the text is wiped away. Is this correct?
many thanks
John Evans
Good morning,
The Sales stats in my B/O has changed since last night. It now shows a different value of sales each time I refresh the page. Also the value has been multiplied by 100. Any thoughts?
regards
John Evans
Hi John.
I have no ideas about your statistics, I didn’t touch anything in your back office.
Regarding the issue with Custom Tab, I’ll fix it, but on the next week, because now I have a little vacation and back to work on Monday. I hope it’s not critical for you.
Marek,
No the problem is not critical, I am grateful for your help. Also I have resolved the stats issue by restoring a day old d/b.
Enjoy your break.
John Evans
Hi John.
I’m back.
I have tried to reproduce the issue with several products, but is works fine for me. Could you please check the issue now?
Marek, Welcome back!!
I wonder if I had a glitch that corrupted part of the Custom Tab operation - don’t know. Some product entries still exhibit the “do not have permission " problem but I can get round this by clearing the Custom Tab info & re-entering.
What is still happening is that if I change the “status” of a product from enable to disabled or vice versa then any info in the custom tab section of that product is lost. (B/O catalogue/products/status). I do not know if this is correct or the result of an error on my shop.
regards
John
Ok, I’ll check that out
There is no issue in our demo.
I need access to your server via FTP to check module files
Hi Marek,
I have done some more investigation.
The problem that wipes out the Custom Tab data seems to be caused by the following mod:-
Refer
FS#9146Custom tabs can’t empty the fieldsFix: file\modules\pk-themesettings\pk-themesettings.php line 2837
Delete the code:-
if (!$custom_tab && is_array($check[0]))
I have an up to date copy of my site off line. My current site has this mod applied. When I restore the text into line 2837 etc it seems that the problem does not occur and all is OK.
Can you test this on one of your test sites?
regards
John
latest version of themesettings.php file is already contain that fix.
Marek,
It seems that I should not have applied this mod, I will reverse it. Thank you for your time & effort.
regards
John
Marek,
I am confused . Please which is the latest version of themesettings.php and where can I get it?
regards
John
You can download it from themeforest
Many thanks
John