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
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.