461
dejadingo
Re: index.php in New modules
  • 2022/4/4 23:08

  • dejadingo

  • Just popping in

  • Posts: 71

  • Since: 2004/10/22


Thanks so much for this report.

I have been struggling for days to diagnose a problem with my local test site running under WAMP which does not occur (thankfully) on my live website. I have a button in one of my modules which downloads a dynamically constructed XLSX file, and this suddenly started to hang the server. In addition, the Preview buttons on my DHTML Text Area fields started to report "Server Not Responding ... Please Try later".

After completely reconstructing all my self-signed certificates (the live server has a real certificate), and updating my local Apache logging, I realized that almost all requests to the local test site were returning a 404 status, but the pages themselves were still rendering normally. I got some minimal success by changing the code to force a 200 status when returning the preview text and my XLSX file. But still the Software Engineer in me needed to understand why this functionality suddenly stopped working.

My local test server is a development platform and as such it has several Xoops modules installed which are not on the live server.
I had installed xSitemap (1.56 Final) intending to use it to build a list of all my pages as I transition the site to Xoops 2.5.11 and Bootswatch 5.3. This report encouraged me to look more closely at what was installed on the local test site. When I discovered that both xmnews and xSitemap had the new index.php files mentioned in this post, I uninstalled them as a test. And suddenly things were back to normal.

After some additional tracing and testing, I offer the annotated segment from my Apache access log which clearly demonstrates that there is something about xSitemap when installed in Xoops 2.5.10 that causes the erroneous 404 status in the Http Response.

================================ start with clean Xoops 2510 ==================================
local-test-site [04/Apr/2022:17:25:45 -0400"GET / HTTP/1.1" 200 15168
================================ install xsitemapgo to home page ============================== 
local-test-site [04/Apr/2022:17:26:30 -0400"GET /admin.php HTTP/1.1" 200 37858
local
-test-site [04/Apr/2022:17:26:35 -0400"GET /modules/system/admin.php?fct=modulesadmin HTTP/1.1" 200 48318
local
-test-site [04/Apr/2022:17:26:38 -0400"GET /modules/system/admin.php?fct=modulesadmin&op=installlist HTTP/1.1" 200 33177
local
-test-site [04/Apr/2022:17:26:44 -0400"GET /modules/system/admin.php?fct=modulesadmin&op=install&module=xsitemap HTTP/1.1" 200 23461
local
-test-site [04/Apr/2022:17:26:48 -0400"POST /modules/system/admin.php HTTP/1.1" 200 33186 
local
-test-site [04/Apr/2022:17:26:52 -0400"GET / HTTP/1.1" 200 15324 
================================ close browser/reopen websiterefresh page ===================== 
local-test-site [04/Apr/2022:17:28:12 -0400"GET / HTTP/1.1" 302 310 
local
-test-site [04/Apr/2022:17:28:12 -0400"GET / HTTP/1.1" 404 15439 
local
-test-site [04/Apr/2022:17:29:33 -0400"GET /themes/xswatch4/js/bootstrap.bundle.min.js HTTP/1.1" 304 
local-test-site [04/Apr/2022:17:29:33 -0400"GET /themes/xswatch4/js/cookieconsent.min.js HTTP/1.1" 304 
local-test-site [04/Apr/2022:17:29:33 -0400"GET /themes/xswatch4/js/js.cookie.min.js HTTP/1.1" 304 
local-test-site [04/Apr/2022:17:29:33 -0400"GET /include/xoops.js HTTP/1.1" 304 
local-test-site [04/Apr/2022:17:29:33 -0400"GET / HTTP/1.1" 404 15439 
local
-test-site [04/Apr/2022:17:29:33 -0400"GET /browse.php?Frameworks/jquery/jquery.js HTTP/1.1" 200 86927 
local
-test-site [04/Apr/2022:17:29:34 -0400"GET /themes/xswatch4/images/logo.png HTTP/1.1" 304 
local-test-site [04/Apr/2022:17:29:34 -0400"GET /themes/xswatch4/images/favicon.png HTTP/1.1" 304 
local-test-site [04/Apr/2022:17:29:34 -0400"GET /themes/xswatch4/images/toolsicon.png HTTP/1.1" 304 
================================ 
close browser/reopen website =================================== 
local-test-site [04/Apr/2022:17:39:28 -0400"GET / HTTP/1.1" 302 310 
local
-test-site [04/Apr/2022:17:39:28 -0400"GET / HTTP/1.1" 404 15439 
================================ uninstall xsitemapgo to home page ============================
 
local-test-site [04/Apr/2022:17:40:34 -0400"GET /admin.php HTTP/1.1" 404 39613 
local
-test-site [04/Apr/2022:17:40:38 -0400"GET /modules/system/admin.php?fct=modulesadmin HTTP/1.1" 404 54733 
local
-test-site [04/Apr/2022:17:40:44 -0400"GET /modules/system/admin.php?fct=modulesadmin&op=uninstall&module=xsitemap HTTP/1.1" 404 24801 
local
-test-site [04/Apr/2022:17:40:47 -0400"POST /modules/system/admin.php HTTP/1.1" 404 2858
local
-test-site [04/Apr/2022:17:40:50 -0400"GET / HTTP/1.1" 200 15053 
================================= close browser/reopen websiterefresh page ====================
local-test-site [04/Apr/2022:17:42:38 -0400"GET / HTTP/1.1" 302 310
local
-test-site [04/Apr/2022:17:42:38 -0400"GET / HTTP/1.1" 200 15168
local
-test-site [04/Apr/2022:17:42:41 -0400"GET /themes/xswatch4/js/cookieconsent.min.js HTTP/1.1" 304 
local-test-site [04/Apr/2022:17:42:41 -0400"GET /themes/xswatch4/js/bootstrap.bundle.min.js HTTP/1.1" 304 
local-test-site [04/Apr/2022:17:42:41 -0400"GET /include/xoops.js HTTP/1.1" 304 
local-test-site [04/Apr/2022:17:42:41 -0400"GET /themes/xswatch4/js/js.cookie.min.js HTTP/1.1" 304 
local-test-site [04/Apr/2022:17:42:41 -0400"GET / HTTP/1.1" 200 15168 
local
-test-site [04/Apr/2022:17:42:41 -0400"GET /browse.php?Frameworks/jquery/jquery.js HTTP/1.1" 200 86927
 local
-test-site [04/Apr/2022:17:42:42 -0400"GET /themes/xswatch4/images/logo.png HTTP/1.1" 304 
local-test-site [04/Apr/2022:17:42:42 -0400"GET /themes/xswatch4/images/toolsicon.png HTTP/1.1" 304 
local-test-site [04/Apr/2022:17:42:42 -0400"GET /themes/xswatch4/images/favicon.png HTTP/1.1" 304 
==================================================================================================

The scenario is as follows:
1. Start with a clean install of Xoops 2510
2. Install xSitemap and press the button to go to the website Home Page
At this point accessing the website still returns a 200 status.
3. Close the browser and reopen the website
At this point almost all requests return the 404 status.

Installing xSitemap in Xoops 2.5.11 does not have the same result.

The xmnews module does not seem to have the same effect, so I do not think the index.php files could be causing the problem. I have done exhaustive debugging through the site startup with xSitemap installed and I can't see anything that might shed any light on the cause. But something in xSitemap is not playing well with Xoops 2510.



462
heyula
Re: XOOPS 2.5.11 follow-up
  • 2022/4/4 18:35

  • heyula

  • Theme Designer

  • Posts: 594

  • Since: 2008/4/24


@Mage

Thanks!



463
Mage
XOOPS 2.5.11 follow-up
  • 2022/4/4 18:32

  • Mage

  • Core Developer

  • Posts: 206

  • Since: 2009/8/2 1


To celebrate the 3 years of work on XOOPS 2.5.11 (and yes 3 years today), we have decided to propose an article per week on the modifications of this version. The objective is to analyze a period to highlight statistics and important points of modification.

You can find article 1 here:

https://www.monxoops.fr/modules/xmnews/article.php?news_id=49&lang=english



464
Mamba
Re: Paletec - Xoops
  • 2022/3/14 7:28

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Awesome and impressive work, as always!!!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



465
heyula
Paletec - Xoops
  • 2022/3/10 11:53

  • heyula

  • Theme Designer

  • Posts: 594

  • Since: 2008/4/24


Kompozit Paletler

Modules Used

- Publisher
- Xmcontent
- Contact

Xoops Version 2.5.10

Demo:
http://paletec.com.tr/

Resized Image


Resized Image


Resized Image


Resized Image



466
Mamba
Re: XOOPS in 2022
  • 2022/3/3 18:41

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


There are always two kinds of people in Open Source:

1) Those who come and see opportunity to help and contribute

2) Those who come and always complain, without contributing


Sadly, Sophie2 is a perfect example of the second group of people. She came after many years of absence, she trashed the project in order to feel better about herself, and then she left.

XOOPS is Open Source, i.e. it is up to the people to contribute and make it better. Nobody is stopping anybody from forking XOOPS from Github, contribute to it, and make it better!

Paraphrasing John Kennedy: "Don't ask what XOOPS can do for you, ask what YOU can do for XOOPS"
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



467
goffy
Re: XOOPS in 2022
  • 2022/3/3 6:46

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi Sophie2
hi xiran

I'm not understanding why you are not satisfied with XOOPS

What kind of a niche would you like to be filled by XOOPS?
What kind of progress would you expect?
If the code is a problem, what would you suggest?
Dou you have visions of a modern CMS?



468
Sophie2
Re: XOOPS in 2022
  • 2022/3/2 10:21

  • Sophie2

  • Just popping in

  • Posts: 81

  • Since: 2005/11/21


@xiran

I agree and it's pretty obvious. No new users, barely a community and just maintenance of the old concepts to death.

The code itself and the github activity is the least of the problems Xoops has, I think.

There's no vision (at least not properly presented) and I can't even imagine some young new web developers coming to this website and getting excited about Xoops.

I checked in to see if there's at least something left here from the good old days, but it appears everyone is perfectly fine with the way things are so I will see myself out.



469
alain01
Re: XOOPS in 2022
  • 2022/2/22 15:20

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20


Hey Mamba,
same time, same thought, same answer



470
alain01
Re: XOOPS in 2022
  • 2022/2/22 15:18

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20






TopTop
« 1 ... 44 45 46 (47) 48 49 50 ... 29425 »



Login

Who's Online

219 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 219


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits