joomla mvc backend actions causing weird url mess up

For Joomla! 3.x Coding related discussions, you could also use: http://groups.google.com/group/joomla-dev-general

Moderators: ooffick, General Support Moderators

Forum rules
Locked
gloombop
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Mar 21, 2017 4:34 pm

joomla mvc backend actions causing weird url mess up

Post by gloombop » Wed Mar 22, 2017 1:18 pm

i posted this before but a moderator moved it here but it ended up in the lounge instead.

When I login to my administration portion of my joomla page and go to my component under components menu to access its default page. I get the normal fields you would see to make any changes. The tutorial adds 3 fields with JToolbarHelper::. These fields are new,edit,and delete. When I click any of the buttons to progress to another screen such as edit,add,or delete it brings me to an error page. complaining about the component not being found.The reason is a messed up link.

The link for the site now turns into

administrator/index.php?option=com_com_example&view=example&layout=edit
it should be
administrator/index.php?option=com_example&view=example&layout=edit
Somewhere an extra com_ is being added and I have looked everywhere. Does anyone understand why or where I should look to fix this issue?

gloombop
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Mar 21, 2017 4:34 pm

updates

Post by gloombop » Wed Mar 22, 2017 3:00 pm

within the form action for the admin page if i remove the com_ from that action it remove the com_com_ and reduce it to https://example.demojoomla.com/administ ... ayout=edit

im starting to think that this is being caused by the controllers and or tasks but i cannot pin point the issue still


Locked

Return to “Joomla! 3.x Coding”