Previous Thread
Next Thread
Print Thread
Rate Thread
#128744 10/08/2001 8:11 AM
Joined: Aug 2001
Posts: 68
Member
Member
Offline
Joined: Aug 2001
Posts: 68
I already asked Infopop but they have no real solution to solve my problem which is follows:

It is concerning the search function, I have analysed the behaviour, and this is what exactly happens: On searching in a forum with an index file larger than 1 Megabyte I get a BLANK PAGE. My Webspace Provider says there are no errors occuring in the cgi logs. The scripts is running for 3 seconds and then: blank page, so there is no script timeout. Here is the content (shown in source code) of the BLANK PAGE:
Code
code:

My suspicion and conclusion is that my server's scripts cannot handle files with so much content and my suggestion to infopop was to make a script that reads the file step by step (like in the control pannel every 200topic...). unfortuneatly I haven't the knowledge to script it on myself.

damn it hate these errors, I really need help, nobody before had a solution for that problem.

Sponsored Links
#128745 10/08/2001 11:26 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Upgrade to beta 2.1 - there's been some major bugs squashed in 1.4


- Allen wavey
- What Drives You?
#128746 10/08/2001 12:36 PM
Joined: Aug 2001
Posts: 68
Member
Member
Offline
Joined: Aug 2001
Posts: 68
This error exists on all versions, also in beta 2.1 no way...

#128747 10/08/2001 12:54 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
No, it was fixed in the beta versions since 1.4


- Allen wavey
- What Drives You?
#128748 10/08/2001 1:24 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
No, it wasn't.

His host is killing the UBB process once it loads the index.


UBB.classic: Love it or hate it, it was mine.
Sponsored Links
#128749 10/08/2001 3:36 PM
Joined: Aug 2001
Posts: 68
Member
Member
Offline
Joined: Aug 2001
Posts: 68
Yes it cannot befixed because it wouldn't occur. Do you have a solution charles ?

#128750 10/08/2001 4:36 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Get a better host.


UBB.classic: Love it or hate it, it was mine.
#128751 10/09/2001 12:40 PM
Joined: Aug 2001
Posts: 68
Member
Member
Offline
Joined: Aug 2001
Posts: 68
nobody has a good solution.

#128752 10/09/2001 2:24 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Quote
quote:


UBB.classic: Love it or hate it, it was mine.
#128753 10/10/2001 7:11 AM
Joined: Aug 2001
Posts: 68
Member
Member
Offline
Joined: Aug 2001
Posts: 68
That's a bad solution , just running away coz there are some simple errors...

Sponsored Links
#128754 10/13/2001 7:06 PM
Joined: Aug 2001
Posts: 68
Member
Member
Offline
Joined: Aug 2001
Posts: 68
I found out more:

ubb_search.cgi
--------------

at @index = sort( ....

another sub routine is called which is included in ubb_lib_files.cgi

ubb_lib_files.cgi
-----------------
in subroutine: OpenFileAsArray

The script stops here: @thisarray =

There is no more output after that array.
I tested it using simple print commands.

@thisarray is calling a subroutine in ubb_lib_filehande.cgi


ubb_lib_filehande.cgi
---------------------
in subroutine: readfile_asarray

everythings seems to be okay, but if you try to print the content of array $tempvar, there will be also no output.

Either the script-compiling stops in ubb_lib_filehande.cgi at this return line: return split(/n/, $tempvar);

or it stops in ubb_lib_files.cgi at the assignment: @thisarray = ...


Could it be that a server settings stops the script ?
or that the Perl version cannot initialize such big arrays ?
Please tell me!

#128755 10/15/2001 10:57 AM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Quote
quote:
For the third time now wink

Your host is killing the script.


UBB.classic: Love it or hate it, it was mine.
#128756 10/15/2001 11:49 AM
Joined: Aug 2001
Posts: 68
Member
Member
Offline
Joined: Aug 2001
Posts: 68
but my host says the script returns no errors


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)