404 Error

Issue #7 resolved
Andy Barrow created an issue

First try - got 404 error on every component menu item.

I'm going to have a look at the code and see if I can tell what it's trying to do.

Using a hosting provider that has shared Ubuntu Linux instances, Joomla version is 3.5.

Installed by individually installing the three plug-ins and one component.

Comments (7)

  1. Andy Barrow reporter

    Interesting... it appears that the database tables (or row entries in the Menu table) didn't get created during installation. The menu items for the component appear to be placeholders (e.g. "check-for-new-results" and "sailwave-importer"). Not sure this is what you were going for right now, but looking at the views, it appears that the correct names are there. But... searching the database doesn't turn up anything for Menus or anything else. Perhaps this is something that the Windows installer does.

  2. CALUM POLWART

    Hi Andy

    Windows installer only adds the template into sailwave. It doesn't touch Joomla.

    Are you able to view the component at all? I've only tested on J! 3.4.8 so will get a 3.5 install set up. Are you still on PHP 5 or have you gone PHP 7 at the same time?

  3. CALUM POLWART
    • changed status to open

    Andy

    You should have the following links: <menu link="index.php?option=com_sailwaveimporter&view=scan">Check For New Results</menu> <menu link="index.php?option=com_sailwaveimporter&view=setupcheck">Check Set-up</menu> <menu link="index.php?option=com_config&view=component&component=com_sailwaveimporter">Configuration</menu> <menu link="index.php?option=com_sailwaveimporter&view=quarantine">Quarantined Files</menu> <menu link="index.php?option=com_sailwaveimporter&view=imported">Imported Files</menu>
    <menu link="index.php?option=com_sailwaveimporter&view=webmasterhelp">Help for Webmasters</menu>
    <menu link="index.php?option=com_sailwaveimporter&view=raceofficerhelp">Help for Race Officers</menu>

    Would be good to know if manually added to http://yoursite.com/administrator/ they work...

  4. Andy Barrow reporter

    The links appear to be there (when I hover over them, I see the link in the bottom browser bar). The menu names are not as you described, for example the first one is "check-for-new-results" and the second is "check-setup", so somehow the full menu isn't getting installed.

    Manually adding the URLs seems to work - at least when I went to the one for Race Officer Help, I did get the component control panel (nice looking!) and the buttons there do work.

    So, I guess the good news is that it isn't completely broken, maybe it's just the component menu. One suggestion I have is to just try a single Component menu item to take the user to your control panel and let him go from there.

  5. CALUM POLWART

    Thanks Andy

    I'm not sure why but it seems the links don't need the index.php? part in them on J3.5 but accepted them on J3.4.8. Anyway there is a better way for most links anyway so i have fixed this in Comit d3fca5b this will be pushed into a 0.22a release shortly. That will need a manual update to install it

  6. Log in to comment