Error 404 after installing Chapter 12 example - joomla5 component-development

Moderator: mindphp

christian
PHP Newbie
PHP Newbie
โพสต์: 3
ลงทะเบียนเมื่อ: 05/01/2025 7:31 pm

Error 404 after installing Chapter 12 example - joomla5 component-development

โพสต์ที่ยังไม่ได้อ่าน โดย christian »

I downloaded sample code from
https://www.mindphp.com/en/online-tutor ... 5-eng.html

I noticed an error as the folder is named language but needs to be "languages" - i corrected

But after installing the code successfully under "Components" - "Hello component" i get error 404, component not found

Please advise, thank you Christian
ภาพประจำตัวสมาชิก
mindphp
ผู้ดูแลระบบ MindPHP
ผู้ดูแลระบบ MindPHP
โพสต์: 46291
ลงทะเบียนเมื่อ: 22/09/2008 6:18 pm
ติดต่อ:

Re: Error 404 after installing Chapter 12 example

โพสต์ที่ยังไม่ได้อ่าน โดย mindphp »

try next Chapter if still error
upload your code to me
ติดตาม VDO: http://www.youtube.com/c/MindphpVideoman
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
christian
PHP Newbie
PHP Newbie
โพสต์: 3
ลงทะเบียนเมื่อ: 05/01/2025 7:31 pm

Re: Error 404 after installing Chapter 12 example - joomla5 component-development

โพสต์ที่ยังไม่ได้อ่าน โดย christian »

Joomla_5_chapter_12.zip
(5.79 KiB) ดาวน์โหลดแล้ว 4 ครั้ง
Attached is chapter 12 original download with naming of language folder error which i corrected.
The same error happens for me with chapter 11 files and it happens on local installation as well at site of my webhoster.

thanks
ภาพประจำตัวสมาชิก
tsukasaz
PHP VIP Members
PHP VIP Members
โพสต์: 23609
ลงทะเบียนเมื่อ: 18/04/2012 9:39 am

Re: Error 404 after installing Chapter 12 example - joomla5 component-development

โพสต์ที่ยังไม่ได้อ่าน โดย tsukasaz »

Did you install it using the "Upload Package File" method in the Admin section?

I think that method can cause issues because the downloaded file is not in the correct format for installation. I recommend placing the com_hello file in the components folder on the admin side and using the "Discover" method instead.

Guide
Place the file.
English Language-1.png
English Language-1.png (59.55 KiB) Viewed 128 times

Menu: System / Discover
English Language-1.png
English Language-1.png (87.92 KiB) Viewed 128 times

After clicking "Install."
English Language-1.png
English Language-1.png (63.64 KiB) Viewed 128 times
The last bug isn't fixed until the last user is dead. (Sidney Markowitz, 1995)
christian
PHP Newbie
PHP Newbie
โพสต์: 3
ลงทะเบียนเมื่อ: 05/01/2025 7:31 pm

Re: Error 404 after installing Chapter 12 example - joomla5 component-development

โพสต์ที่ยังไม่ได้อ่าน โดย christian »

Thanks a lot - this worked - maybe you mention this with your Online tutorials. Thanks a lot for them as well. Cheers from cold germany ;-)
ตอบกลับโพส

ผู้ใช้งานขณะนี้

สมาชิกกำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และบุคลทั่วไป 4