1
vakenpunktse
Re: Blank index page (XOOPS version 2.4.3)

Issue solved, got help from a programmer. An array got bigger than 128 MB, he changed the code to fix the issue.

I'll paste what he wrote when he found the issue, use Google translate to translate from Swedish to English if needed:
"I /www/kernel/groupperm.php (xoops egen kod) har vi en funktion som käkar nästan allt minne. Den skapar ett objekt per rad i group_permission.

Här ser ni hur minnet går åt nästan helt:
(Därav kraschen men den kommer senare.)

groupperm (1) - mem_usage: 13056 kb, peak: 13056 kb
groupperm (1001) - mem_usage: 20992 kb, peak: 20992 kb
groupperm (2001) - mem_usage: 28928 kb, peak: 28928 kb
groupperm (3001) - mem_usage: 36864 kb, peak: 36864 kb
groupperm (4001) - mem_usage: 45056 kb, peak: 45056 kb
groupperm (5001) - mem_usage: 52992 kb, peak: 52992 kb
groupperm (6001) - mem_usage: 60672 kb, peak: 60672 kb
groupperm (7001) - mem_usage: 68608 kb, peak: 68608 kb
groupperm (8001) - mem_usage: 76544 kb, peak: 76544 kb
groupperm (9001) - mem_usage: 84992 kb, peak: 84992 kb
groupperm (10001) - mem_usage: 92672 kb, peak: 92672 kb
groupperm (11001) - mem_usage: 100608 kb, peak: 100608 kb
groupperm (12001) - mem_usage: 108544 kb, peak: 108544 kb
groupperm (13001) - mem_usage: 116224 kb, peak: 116224 kb
groupperm (14001) - mem_usage: 124160 kb, peak: 124160 kb <- nära 128 MB!

Vad används denna gigantiska array till sen?
Jo, den förrut omtalade permission-loopen konverterar den till en ny, mindre array, varpå den förra frigörs."



2
vakenpunktse
Re: Blank index page (XOOPS version 2.4.3)

From debug:

"Fel
Information: Undefined variable: start i fil /modules/smartsection/blocks/items_recent.php rad 44
Information: Function xoops_getLinkedUnameFromId() is deprecated, use XoopsUserUtility::getUnameFromId() instead i fil /include/functions.legacy.php rad 43
Varning: xoops_load('userutility') is deprecated, use xoops_load('xoopsuserutility') i fil /class/xoopsload.php rad 65
Varning: MyTextSanitizer::makeTboxData4Show is deprecated i fil /class/module.textsanitizer.php rad 783
Information: Undefined variable: messages i fil /modules/system/blocks/system_blocks.php rad 175"



3
vakenpunktse
Blank index page (XOOPS version 2.4.3)

Hi,

This was originally posted in another thread (https://xoops.org/modules/newbb/viewtopic.php?start=10&topic_id=76447&order=ASC&status=&mode=0 ) regarding forum issues with newbb and then smartsection issues but think this issue could require an own thread:

The main page does not load, just blank. Newsitems in smartsection load as they should for examplehttp://vaken.se/modules/smartsection/item.php?itemid=2389

But going directly tohttp://vaken.se only works sometimes, seems a bit random, sometimes it works directly and sometimes 10+ refresh does not load the page. It shows a blank page with no content (0 kb).

Web hotel support found this in error_log:

[18-Nov-2013 02:36:10] PHP Warning: unlink(/home/vakense/public_html/xoops_data/caches/xoops_cache/xoops_system_modules_active_http%3A%2F%2Fvaken_se.php) [function.unlink]: No such file or directory in /home/vakense/public_html/class/file/file.php on line 328

file.php and line 328 is the following:
return unlink($this->pwd());

Could the error found in error_log be an explanation or our issues?

This is what our XOOPS "expert" had time to find when looking in the other issue with smartsection, uncertain when he will be able to look at the issue again:

"Look like it's related to templates. Smarty is the name of the program that manages templates for xoops. This program manages templates_c och
the cache folder.
_
It looks like this have stopped to work. template_c used to be full of files and is now empty."


After this web hotel support changed rights to 755 for folders and 644 for files. The problems with the main page loading blank actually started after this but according to the web hotel this was the correct settings for suPHP. Be saying it started after this the problem became very common two days after changing rights for folder and files, I can't quite remember is it was an issue the same day the file rights where changed.

I don't know if it's allowed on this forum but if it is we are considering to hire someone to look in the issue and troubleshoot, with an extra reward if the issue is solved, main problem is that the start page just loads blank most of the time.

From what I have heard reported and experienced myself the issues started with seldom occurrences of the main page loading blank and increased.



4
vakenpunktse
Re: Forum ver 3,08 - Threads when admin/webmaster site loads blank, reg user all ok. How Weirdis that?

Hi,

The forum module we had problems with earlier was newbb.

Unfortunately we got bigger problems than the fixed forum problem and still existing smartsection issues.
Think that the problem might be related so I'm continuing in the same thread. We are a bit lost as the person who built the site and has the deep knowledge of XOOPS have very limited time to look in to the issue so bear that in mind.

Now the main page does not load, just blank. Newsitems in smartsection load as they should for examplehttp://vaken.se/modules/smartsection/item.php?itemid=2389

But going directly tohttp://vaken.se only works sometimes, seems a bit random, sometimes it works directly and sometimes 10+ refresh does not load the page. It shows a blank page with no content (0 kb).

Web hotel support found this in error_log:

[18-Nov-2013 02:36:10] PHP Warning: unlink(/home/vakense/public_html/xoops_data/caches/xoops_cache/xoops_system_modules_active_http%3A%2F%2Fvaken_se.php) [function.unlink]: No such file or directory in /home/vakense/public_html/class/file/file.php on line 328

file.php and line 328 is the following:
return unlink($this->pwd());

Could the error found in error_log be an explanation or our issues?

This is what our XOOPS "expert" had time to find when looking in the other issue with smartsection, uncertain when he will be able to look at the issue again:

"Look like it's related to templates. Smarty is the name of the program that manages templates for xoops. This program manages templates_c och
the cache folder.
_
It looks like this have stopped to work. template_c used to be full of files and is now empty."


After this web hotel support changed rights to 755 for folders and 644 for files. The problems with the main page loading blank actually started after this but according to the web hotel this was the correct settings for suPHP.

I don't know if it's allowed on this forum but if it is we are considering to hire someone to look in the issue and troubleshoot, with an extra reward if the issue is solved, main problem is that the start page just loads blank most of the time.

From what I have heard reported and experienced myself the issues started with seldom occurrences of the main page loading blank and increased.






5
vakenpunktse
Re: Forum ver 3,08 - Threads when admin/webmaster site loads blank, reg user all ok. How Weirdis that?

(Several of us managing the site share this account vakenpunktse here on xoops, if you wonder why we write diffrently)

Status: Now this Fu.... S... has moved over to SMARTSECTION. So ADMINS cant edit newsitems. Just blank screen when pressing edit. Xoops has worked like a charm since 2004, and now this happens. Gaaaaaaaaaaaaaawh!

The extra bad thing is that the problem isnt consistent, and some smartsection items are edit:able, and some arnt.

All tips and hints are very helpful. Our Serviceprovider has not done any PHP-upgrade lately. They run on 5.2 and will upgrade to 5.3 in near future.

Lovley start on a saturday. Thanks for all help guys.



6
vakenpunktse
Re: Forum ver 3,08 - Threads when admin/webmaster site loads blank, reg user all ok. How Weirdis that?

Issue solved, our XOOPS-expert got some time and deactivated a module that was causing the issue. Not sure why that particular module was causing the issue but working fine now. Will consider upgrade anyway.



7
vakenpunktse
Re: Forum ver 3,08 - Threads when admin/webmaster site loads blank, reg user all ok. How Weirdis that?

Hi,

From what I can see in XOOPS System administration we are running XOOPS 2.4.3.

Have not gotten answer yet from our host on which version of php they are running.



8
vakenpunktse
Forum ver 3,08 - Threads when admin/webmaster site loads blank, reg user all ok. How Weirdis that?

Hi!

Im a novice at this and our main maintenance guy is not available for some time, so please overlook if I describe our problem in the wrong way or if I make mistakes you may regard as simple.

The short story: We really need help because when logged in as webmaster/admin an you open any thread in the forum, the sites just loads i totally blank. See print screen.

If a reg user logs in, everthing works fine. This problem has never happend since 2004 when we started using xoops. Totally new problem that just came some weeks ago. No usual reguser, have ever complaind the last weeks, just admins complaining.

This is a printscreen that shows how it looks for admin. Resized Image


Our forum-module i version 3,08.

ImageMagicK: Not available
NetPBM: Not available
GD1 library: Not available
GD2 library: Autodetected: bundled (2.0.34 compatible)
Path for attachment storing: /home/vakense/public_html/uploads/newbb/ ( Available )
Path for attached image thumbs: /home/vakense/public_html/uploads/newbb/thumbs/ ( Not available Create it )

Board Statistic
Total Topics 22922 | Total Posts 196001 | Total Views 55215354

Have you guys ever heard of this problem and have some tips where to begin.
Space on server is ok 1,5 GB free.

Please dont just answer "upgrade" to Xoops, or module bla bla. Because that could be a big process and lots of individual data could be lost which I cant manage. I really need to get in contact with someone who have heard of this problem or can give me some hints where to begin. When a reg user uses the forum there are no problems at alls. But for admin-users with webmaster-lever, you "had" to reload the thread in the forum several times before the site loadad. But now it just loads a white screen even thou one reloads many times. Is kind of annoying becaus it isnt a static problem and "sometimes" work when you reload several times.

All the best from sweden. And many thanks for help and hints. I may have forgotten to describe something here. So please just answer in the thread i you need more info. We have about 40 000 unique visitors per month and this is becomming a nucians for the webmasters / admins.

/Jonas




TopTop



Login

Who's Online

163 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

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

Latest GitHub Commits