|
Hello Mr. LeBlanc,
I'm currently reviewing your book, "Learning Joomla! Extension and Framework Development" 2 Ed. and have already ran into the same problem that I encountered with the first version; upon creating the initial file / folder structure and navigating to the URI, I receive a 404 Page Not Found error.
Let me step back a second and verify the process (although, granted this is quite basic, but nonetheless); I imported Joomla! from the SVN and renamed the project to "Restaurant Reviews" for simplicity. I navigated to ./components/ and created the folder, "com_restaurants" and then copied this folder to the back end, ./administrator/components/, so that we have both containers in place. I then created a blank index.php in the front end com_restaurants folder, which I then copied into the ./administrator/components/com_restaurants/ folder.
I then tried to load the URI in my browser and received the 404 error. The URI looks like, "http://localhost/workspace/Restaurant Reviews/index.php?option=com_restaurants". Being familiar with Joomla!, I was hoping it was because I did not define JEXEC, so I edited the front-end index.php file (in the com_restaurants folder) to define JEXEC per the instructions in the book. However, I still received the 404 Page Not Found error.
In order to make sure that the Joomla! installation was working properly, I loaded the ./Restaurant Reviews/index.php file and it loaded as expected. I then modifed the URI to "http://localhost/workspace/Restaurant Reviews/index.php?option=com_banners" which loaded, once again, as expected.
Upon logging into the admin area, and navigating to Extensions > Install / Uninstall > Components and viewing the list, you can tell that com_restaurants is not recognized as being installed.
Did I miss something? Did the dev's change something that would prevent this from working properly? After visiting Packt's site and looking for any errata, I noticed there hasn't been any published for this book, yet. So, I presume that something is "wrong" on my side; however, I made sure that there were no spelling errors prior to taking the time to register and post this thread, as such, I am at a loss.
I would greatly appreciate any insight you may have to offer. Thank you for your time, assistance and understanding in this matter.
Sincerely,
Joseph Johnson
aka
~ Dro Buddy
P.S.
The original thread was a little more clear and concise, but your site logged me out while writing it; so, I just breezed back over the key points. Sorry if it isn't quite as clear...
|