Jump to content

Strange thing occuring


Shamrox

Recommended Posts

I have a page that lists recent registration entries. Click one of the names on the list and it takes you to the full detail of the record.
Some load fine, some load a blank page. when I view the source all I see is...
[code]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
[/code]

Any idea what might be causing this? I've looked at the records in the db, but nothing seems wrong.

HELP!!!!
Link to comment
https://forums.phpfreaks.com/topic/35386-strange-thing-occuring/
Share on other sites

Here's a bit more info after doing some major digging today.
In the error logs I found this error.

PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 54862 bytes) in /path/to/clients/files/registrar_new.php on line 788

I'm not sure what that means, so I went to look at what the code in line 788 was..

$sql = "SELECT * FROM `spec_supplier` ORDER BY `name`;";
$results = mysql_query($sql);
while($row = mysql_fetch_array($results, MYSQL_ASSOC)){
$suppliers[] = $row;
}

Line 788 is the while statement.

So, might someone have any other insite into my problem with the added info above? Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.