Turn on Use URL Rewriting all hikashop menu error 404

  • Posts: 30
  • Thank you received: 1
3 weeks 20 minutes ago #364833

-- url of the page with the problem -- : medequip.ir
-- HikaShop version -- : 5.1.1
-- Joomla version -- : 5.2.2
-- PHP version -- : 8.2
-- Error-message(debug-mod must be tuned on) -- : 404

hi

after i turn on Use URL Rewriting all hikashop page error 404

Please Log in or Create an account to join the conversation.

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
2 weeks 6 days ago #364838

Hi,

I can see that URL rewriting is activated on your website, and I couldn't find 404 errors on your website. All the HikaShop pages I tried worked fine.
Please provide precise information on where to find the errors.

Please Log in or Create an account to join the conversation.

  • Posts: 30
  • Thank you received: 1
2 weeks 6 days ago #364848

medequip.ir

all main menu come from hikashop but all dont work

Last edit: 2 weeks 6 days ago by foo0z0ool.

Please Log in or Create an account to join the conversation.

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
2 weeks 6 days ago #364852

Hi,

For some reason I see the 404 error, which I didn't get yesterday.
Renaming the templates/YOUR_TEMPLATE/error.php file via FTP to something else in order to deactivate it. Also, turn on the "debug" setting of the Joomla configuration page. Then, access a page with the error. It should hopefully display more information on the problem, which will help understand what's going on.

Please Log in or Create an account to join the conversation.

  • Posts: 30
  • Thank you received: 1
2 weeks 6 days ago #364857

nicolas wrote: For some reason I see the 404 error, which I didn't get yesterday.


yesterday i turn off Use URL Rewriting (because this website work and i cant down it for long time)

nicolas wrote: Renaming the templates/YOUR_TEMPLATE/error.php file via FTP to something else in order to deactivate it.


i rename it now, and disable all code inside it

nicolas wrote: Also, turn on the "debug" setting of the Joomla configuration page.


nicolas wrote:

nicolas wrote: Hi,

Then, access a page with the error. It should hopefully display more information on the problem, which will help understand what's going on.

no any more information :(

Please Log in or Create an account to join the conversation.

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
2 weeks 5 days ago #364859

Hi,

Then, it's not a website issue but a server issue.
I think you must have missed something with the steps to activate this setting as explained here:
docs.joomla.org/Enabling_Search_Engine_Friendly_%28SEF%29_URLs
Please review these.

Please Log in or Create an account to join the conversation.

  • Posts: 30
  • Thank you received: 1
2 weeks 5 days ago #364861

i check this config on my host but i have 3 more site on this server and work as fine

and if u see my site all other link ( non hikashop work as fine )

Please Log in or Create an account to join the conversation.

  • Posts: 30
  • Thank you received: 1
2 weeks 5 days ago #364865

i ask my server check anything they say anything is ok and work fine and this problem come from your website...

:(

idk what can i do

Please Log in or Create an account to join the conversation.

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
2 weeks 5 days ago #364862

Hi,

I don't see any menu item other than ones for HikaShop on your website.

Also, I can see that the links works again on your website. And SEF is still enabled. Only the index.php is in the URL. And if the URLs don't work without the index.php, in most cases it means that the htaccess.txt file has not been renamed to .htaccess or the configuration of the web server has not been done properly.
I can't say more than this.
You might want to post your issue on forum.joomla.org as I believe that the issue is for all your website, not just HikaShop, and everything points at what I said.

Please Log in or Create an account to join the conversation.

  • Posts: 30
  • Thank you received: 1
2 weeks 4 days ago #364887

nicolas wrote: Hi,

I don't see any menu item other than ones for HikaShop on your website.

Also, I can see that the links works again on your website. And SEF is still enabled. Only the index.php is in the URL. And if the URLs don't work without the index.php, in most cases it means that the htaccess.txt file has not been renamed to .htaccess or the configuration of the web server has not been done properly.
I can't say more than this.
You might want to post your issue on forum.joomla.org as I believe that the issue is for all your website, not just HikaShop, and everything points at what I said.

nicolas wrote: Also, I can see that the links works again on your website.


bro i told you i cant TURN OFF this website for long time... ( if i turned on Use URL Rewriting ) site show me error 404 ( i just turned in for half day you see error ) after you answer me i turned off it and site work as fine again

my problem is this INDEX.PHP show in all links...

nicolas wrote: And SEF is still enabled. Only the index.php is in the URL. And if the URLs don't work without the index.php, in most cases it means that the htaccess.txt file has not been renamed to .htaccess or the configuration of the web server has not been done properly.


i change htaccess name
and server this is not my main server ( we all rent some host from other company ) we access to C-Panel and some config ( we cant change server config ) in this host 3 more website work ( avisapro.ir / behpookaran.ir and ... ) other website work without index.php and sef fine ( so this problem just for medequip.ir not from server ) i wanna know this problem come from hikashop ? or gantry 5 framework ? or my template !!! this is broken my mind because ( i receive error 404 without any error massage ) so i cant understand this 404 coming from where bro

and thanks for your answering

i love hikashop for ever this Super Powerfull SHOP MAKER in the world... ( who say this 22 years as web design work with lot of shop maker _ woocommerce, virtuemart, presta shop and etc...

i found just 1 little problem in hikashop ( UI most be reworked to graphic UI )

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
2 weeks 4 days ago #364888

Hi,

i wanna know this problem come from hikashop ? or gantry 5 framework ? or my template !!! this is broken my mind because ( i receive error 404 without any error massage ) so i cant understand this 404 coming from where bro

Maybe I wasn't clear enough. The problem is not in HikaShop's code, nor in HikaShop's settings, nor gantry 5 nor your template. The problem is with the setup of your server or the htaccess file.
If the htaccess.txt file is not renamed to .htaccess you can't remove the index.php in the URLs, or the URLs will all display 404 errors.
And on some servers, additional steps need to be made in the server configuration to support the removal of the index.php as explained in the link I gave before:
docs.joomla.org/Enabling_Search_Engine_Friendly_%28SEF%29_URLs
If you renamed the htaccess, and followed the steps there and it still doesn't work then you missed something with the instructions there, or something else on your website messed with the htacccess. For example, if you manually empty the htaccess file, even if you rename it to .htaccess, it won't work. There are some components, like adminTools, which can modify the htaccess based on how you configure it. So it's possible you might have messed up that file without knowing it. I would recommend comparing the file with the default htaccess file of a Joomla install package.
In any case, your issue is between Joomla and your server. That's why I told you to ask on forum.joomla.org
The problem is not in HikaShop and our support is only for HikaShop so we can't help further on that index.php issue.

Please Log in or Create an account to join the conversation.

  • Posts: 30
  • Thank you received: 1
2 weeks 3 days ago #364891

nicolas wrote: Hi,

Maybe I wasn't clear enough. The problem is not in HikaShop's code, nor in HikaShop's settings, nor gantry 5 nor your template. The problem is with the setup of your server or the htaccess file.
If the htaccess.txt file is not renamed to .htaccess you can't remove the index.php in the URLs, or the URLs will all display 404 errors.
And on some servers, additional steps need to be made in the server configuration to support the removal of the index.php as explained in the link I gave before:
docs.joomla.org/Enabling_Search_Engine_Friendly_%28SEF%29_URLs
If you renamed the htaccess, and followed the steps there and it still doesn't work then you missed something with the instructions there, or something else on your website messed with the htacccess. For example, if you manually empty the htaccess file, even if you rename it to .htaccess, it won't work. There are some components, like adminTools, which can modify the htaccess based on how you configure it. So it's possible you might have messed up that file without knowing it. I would recommend comparing the file with the default htaccess file of a Joomla install package.
In any case, your issue is between Joomla and your server. That's why I told you to ask on forum.joomla.org
The problem is not in HikaShop and our support is only for HikaShop so we can't help further on that index.php issue.


yes with this i found problem

you right all this problems coming from htaccess

this is not for name or ...
i say what happen maybe some one else have this problem :

i install some component ( name is JCH Optimizer ) this component always work fine but not after update it from version 8 to 9 this component remove all htaccess code... ( all of them ) and add some new code from JCH to htaccess, so htaccess have not default code and i receive this problem

sorry for my bad english i hope this commend help other people too

Last edit: 2 weeks 3 days ago by nicolas.

Please Log in or Create an account to join the conversation.

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
2 weeks 3 days ago #364894

Hi,

Great! I would recommend reporting the issue to that other component so that they can look into the problem. If they find an issue and fix it, others won't have the problem in the future.

Please Log in or Create an account to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum