templaza / astroid-framework

Powerful framework for designers and developers to create responsive, fast & robust Joomla based websites and templates.
https://astroidframe.work/
GNU General Public License v3.0
86 stars 15 forks source link

Assistance Needed: "404 Not Found" Error After Astroid Framework Update #845

Closed layalei closed 4 days ago

layalei commented 3 weeks ago

Hello,

After updating the Astroid framework, I am unable to edit any templates. When I try to access the template options, I encounter a "404 Not Found" error. Could you provide any guidance on how to resolve this issue?

Thank you for your assistance.

Best regards, Layale

felixkat commented 3 weeks ago

Which version did you update from and to?

Have you cleared all your caches?

layalei commented 3 weeks ago

Yes clear all cache but not working Not this template only but all astroid template And i have now 3.16 always i update my astroid i don’t know now what’s happening

On Sat, Oct 26, 2024 at 11:43 PM felixkat @.***> wrote:

Which version did you update from and to?

Have you cleared all your caches?

— Reply to this email directly, view it on GitHub https://github.com/templaza/astroid-framework/issues/845#issuecomment-2439745304, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6LML5BWPDK6VB5U2HC4TBDZ5QEIFAVCNFSM6AAAAABQU3ZIFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZG42DKMZQGQ . You are receiving this because you authored the thread.Message ID: @.***>

sonvnn commented 3 weeks ago

@layalei Can you send me your admin account via sonlv@templaza.com? I will help you check it.

layalei commented 3 weeks ago

@sonvnn done

layalei commented 3 weeks ago

any update

sonvnn commented 3 weeks ago

@layalei Please send me your website link. I replied your email.

layalei commented 2 weeks ago

any news

sonvnn commented 2 weeks ago

I received your username and password but without site url :))

I can not check anything if I don't know site-url for testing.

Can you send me admin acc with your url?

Thanks, Sonny

layalei commented 2 weeks ago

Mallmondo.com/administrator

On Thu, Nov 7, 2024 at 4:25 PM Sonny Le @.***> wrote:

I received your username and password but without site url :))

I can not check anything if I don't know site-url for testing.

Can you send me admin acc with your url?

Thanks, Sonny

— Reply to this email directly, view it on GitHub https://github.com/templaza/astroid-framework/issues/845#issuecomment-2462369990, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6LML5BJR2VNK5JS2DE4VTDZ7NZ5RAVCNFSM6AAAAABQU3ZIFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRSGM3DSOJZGA . You are receiving this because you were mentioned.Message ID: @.***>

sonvnn commented 2 weeks ago

Sorry for the long wait. I checked and found that your website for some reason filters functions related to preg_replace and json_encode with large data. I am looking into this further. In the meantime, can you help me disable some security plugins and try again to see which extension it is related to?

layalei commented 2 weeks ago

with one do you want for me to disable

On Fri, Nov 8, 2024 at 6:23 AM Sonny Le @.***> wrote:

Sorry for the long wait. I checked and found that your website for some reason filters functions related to preg_replace and json_encode with large data. I am looking into this further. In the meantime, can you help me disable some security plugins and try again to see which extension it is related to?

— Reply to this email directly, view it on GitHub https://github.com/templaza/astroid-framework/issues/845#issuecomment-2463726932, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6LML5CV2YRLXR5Y6KDPMUTZ7Q4DDAVCNFSM6AAAAABQU3ZIFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRTG4ZDMOJTGI . You are receiving this because you were mentioned.Message ID: @.***>

sonvnn commented 2 weeks ago

I tried many ways but still can't find the specific cause. It's strange, I've never encountered this case before. And I need more time to find the cause. I only know that the cause is when running the json_decode function with large data, your website returns a 404 error. I don't understand why. Astroid is an App system running with VueJS and it is required to communicate with each other through json code.

layalei commented 2 weeks ago

Yes exactly that strange can you send me the astroid framework but the old version maybe 3.1.3 to try it maybe the problem is in the upgrade version because this issue appear when i update the astroid framework

jam1974 commented 2 weeks ago

@layalei can be found here: https://github.com/templaza/astroid-framework/releases must scroll down

sonvnn commented 2 weeks ago

@layalei I don't think it will work. It looks like an issue related to your server config or affected by 3rd party system plugins. You can try to re-install 3.1.3. But I don't think it will work.

Can you help me try to setup a fresh Joomla on your server? After that install Astroid on it? Please tell me if it works or not. With this we can reduce space of issue.

Best regards, Sonny

layalei commented 2 weeks ago

no not working

sonvnn commented 1 week ago

@layalei Can you specify the error on your current site or fresh site with Astroid?

layalei commented 1 week ago

This page isn’t working test.picomedia.agency didn’t send any data. ERR_EMPTY_RESPONSE

layalei commented 1 week ago

i tried on test.picomedia.agency/administrator same username and pass

felixkat commented 1 week ago

I believe this is a server issue.

Have you looked at your server logs, looks like you are with GoDaddy so https://www.godaddy.com/en-uk/help/find-and-review-server-logs-40945

Do you have any additional services with them such as firewall\app security etc?

layalei commented 1 week ago

i will talking to my hosting provider to see what is the problem and i will keeping you updated

layalei commented 1 week ago

I spoke with the hosting provider, but nothing worked. Still getting the same error. We even tried downgrading the PHP version, but no luck. Really can't figure out what’s causing this issue; nothing we’ve tried has made a difference.

Any idea what else we can do?

layalei commented 1 week ago

Please check if the error appears in the template options by testing Joomla 5.2.1 with the Astroid Framework 3.1.7 and any compatible template, using PHP 8.2 If you can try to installed to see if the problem in my hosting or no thanks

On Tue, Nov 12, 2024 at 2:56 PM felixkat @.***> wrote:

I believe this is a server issue.

Have you looked at your server logs, looks like you are with GoDaddy so https://www.godaddy.com/en-uk/help/find-and-review-server-logs-40945

Do you have any additional services with them such as firewall\app security etc?

— Reply to this email directly, view it on GitHub https://github.com/templaza/astroid-framework/issues/845#issuecomment-2470462238, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6LML5GCKVGKZFS4ZWMDWWL2AH3IVAVCNFSM6AAAAABQU3ZIFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZQGQ3DEMRTHA . You are receiving this because you were mentioned.Message ID: @.***>

felixkat commented 1 week ago

Do you get any other messages if you switch debug on

image

and Error reporting to maximum

image

Screenshots would be good

sonvnn commented 1 week ago

Please check if the error appears in the template options by testing Joomla 5.2.1 with the Astroid Framework 3.1.7 and any compatible template, using PHP 8.2 If you can try to installed to see if the problem in my hosting or no thanks On Tue, Nov 12, 2024 at 2:56 PM felixkat @.> wrote: I believe this is a server issue. Have you looked at your server logs, looks like you are with GoDaddy so https://www.godaddy.com/en-uk/help/find-and-review-server-logs-40945 Do you have any additional services with them such as firewall\app security etc? — Reply to this email directly, view it on GitHub <#845 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6LML5GCKVGKZFS4ZWMDWWL2AH3IVAVCNFSM6AAAAABQU3ZIFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZQGQ3DEMRTHA . You are receiving this because you were mentioned.Message ID: @.>

I am running Astroid 3.1.7 on PHP8.3. Joomla 5.2.1. Everything is fine. Your issue is when the json_encode function loads content that is too large it returns a 404 error. I don't understand why. Can you try increasing the resource limit to see if that solves it?

layalei commented 1 week ago

Screenshot 2024-11-12 183534

layalei commented 1 week ago

Screenshot 2024-11-13 081652

layalei commented 1 week ago

Screenshot 2024-11-13 082306

layalei commented 1 week ago

Screenshot 2024-11-12 202651 Screenshot 2024-11-12 202815 Screenshot 2024-11-12 202904

felixkat commented 1 week ago

There are no real clues in your screenshots as to why it is not working.

It's very likely to be a host issue, if it was a problem with installing Astroid, a lot more people would be reporting it.

Maybe you could sign up for a free trial with another provider to test?

layalei commented 1 week ago

Ok, I'll look into it. BUT i talking to my hosting provider but no luck

On Wed, Nov 13, 2024 at 6:11 PM felixkat @.***> wrote:

There are no real clues in your screenshots as to why it is not working.

It's very likely to be a host issue, if it was a problem with installing Astroid, a lot more people would be reporting it.

Maybe you could sign up for a free trial with another provider to test?

— Reply to this email directly, view it on GitHub https://github.com/templaza/astroid-framework/issues/845#issuecomment-2474065085, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6LML5CKOVQN7MDIKSIBTC32AN22XAVCNFSM6AAAAABQU3ZIFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZUGA3DKMBYGU . You are receiving this because you were mentioned.Message ID: @.***>

layalei commented 1 week ago

I have verified with server admins that everything from server end is configured fine and there is no issues with it.

layalei commented 1 week ago

i install 3.03 astroid framework it's working fine so problem is on the astoid new framewrok pls check it asap thanks @felixkat @sonvnn why this version is working and the others no?

felixkat commented 1 week ago

There is no problem with the new framework, it has been installed by many with no issues. It's likely the issue is some new features in the new framework that your host is causing issues with.

Do you have mod_security on your host? Try disabling that temporarily and see if that makes any difference.

layalei commented 1 week ago

No i don’t have mod security

On Thu, Nov 14, 2024 at 2:23 PM felixkat @.***> wrote:

There is no problem with the new framework, it has been installed by many with no issues. It's likely the issue is some new features in the new framework that your host is causing issues with.

Do you have mod_security on your host? Try disabling that temporarily and see if that makes any difference.

— Reply to this email directly, view it on GitHub https://github.com/templaza/astroid-framework/issues/845#issuecomment-2476220608, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6LML5AQP22RS4KYDHL5GRD2ASI3BAVCNFSM6AAAAABQU3ZIFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZWGIZDANRQHA . You are receiving this because you were mentioned.Message ID: @.***>

sonvnn commented 1 week ago

I will try to backup your site and install on my local. I hope I can find something on it. Please wait!

Thank you!

felixkat commented 1 week ago

Meanwhile, whilst you are waiting for Sonny.

From what I understand you have tried to upgrade the latest Astroid on an existing site but you have also installed it on a new test site, both with the same problems.

If the test site is a new Joomla installation with nothing else apart from Astroid and it still doesn't work, it's has to be server related.

If you want to test another host then go here https://dash.infinityfree.com it's completely free, no credit card needed.

I have just installed Joomla, (via softaculous), installed Astroid and it works perfectly fine. The infinityfree is really, really slow and very restricted but for my test Astroid installation it is working.

http://astroid.freesite.online/

I did have a couple of issues with it due to being a very restricted free server, but even with this Astroid works fine.

image

image

It would be a good idea to try this so you understand that Astroid is working fine and it also allows you to show your hosting provider that the issue is not with the software.

layalei commented 1 week ago

Thanks, I'll check it out. Yes correct i test a new joomla installation with only astroid template two the free one it doesn’t working ! If i use the framework version mention before it’s working fine 😅 To be honest godaddy not helping at all !!!

On Thu, Nov 14, 2024 at 4:31 PM felixkat @.***> wrote:

Meanwhile, whilst you are waiting for Sonny.

From what I understand you have tried to upgrade the latest Astroid on an existing site but you have also installed it on a new test site, both with the same problems.

If the test site is a new Joomla installation with nothing else apart from Astroid and it still doesn't work, it's has to be server related.

If you want to test another host then go here https://dash.infinityfree.com it's completely free, no credit card needed.

I have just installed Joomla, (via softaculous), installed Astroid and it works perfectly fine. The infinityfree is really, really slow and very restricted but for my test Astroid installation it is working.

http://astroid.freesite.online/

I did have a couple of issues with it due to being a very restricted free server, but even with this Astroid works fine.

image.png (view on web) https://github.com/user-attachments/assets/f7979d46-b342-40d6-a168-2b6fcb3f0f89

image.png (view on web) https://github.com/user-attachments/assets/1d926bff-641c-4a76-9269-ce784a2ac9f1

It would be a good idea to try this so you understand that Astroid is working fine and it also allows you to show your hosting provider that the issue is not with the software.

— Reply to this email directly, view it on GitHub https://github.com/templaza/astroid-framework/issues/845#issuecomment-2476502202, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6LML5DVPPYLK4EYLJPGAUL2ASX3DAVCNFSM6AAAAABQU3ZIFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZWGUYDEMRQGI . You are receiving this because you were mentioned.Message ID: @.***>

felixkat commented 1 week ago

Yes GoDaddy isn't the easiest to work with.

Another suggestion that you might be able to try on your test site, Do another clean install and then install 3.1.3, (I think this is the one you said that works okay).

Test it and then upgrade to 3.1.4 and test again.

If it works then upgrade to 3.1.5 etc etc.

Try to find out which versions breaks the server, it might allow us a better idea of what was changed to cause the problem. Maybe there is a small chance there is a bug, but it is a bug that most servers are okay with but causes problems with GoDaddy.

Make sure you test with a new installation of Joomla so there isn't any problems or conflicts with the tests you have already done.

layalei commented 6 days ago

Any news ?? Because unchecked with my hosting provider and said Please tell your developer that there is no issue in hosting

felixkat commented 5 days ago

@layalei Were you able to try any of my suggestions?

layalei commented 4 days ago

Hi @felixkat,

I tried your suggestion for the free trial hosting, and it's working fine. However, it's still not working on my hosting. Could you assist me further with this? Please check this link for more details: http://picomedia.agency/phpinfo.php.

Thanks!

layalei commented 4 days ago

FINALLY FOUND A SOLUTION I ADD THIS TO MY HTACCESS:

## No directory listings
<IfModule mod_autoindex.c>
    IndexIgnore *
</IfModule>
<IfModule mod_substitute.c>
SubstituteMaxLineLength 10m
</IfModule> 

AND NOW IT'S WORKING FINE

felixkat commented 4 days ago

Well as I said https://github.com/templaza/astroid-framework/issues/845#issuecomment-2470462238 server issue!! :wink: