debugging

Attempting to remove an image from a product in Drupal / Ubercart error

While attempting to update a product on a site using Ubercart and Drupal I get the following error.

An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (25 MB) that this server supports.

There is no file being uploaded as I'm removing the current one I get this error and no upload form appears.

I'm using IE7, No issues in firefox though.

I know there are mysql results but nevery any in php

I have a query that never returns any results or errors. When I run the sql directly through phpmyadmin the results come back fine.

just trying to dump row right now to see whats coming back

<?php
$link
= mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!
$link) {
    die(
'Could not connect: ' . mysql_error());
}

$sql = "SELECT ProductID,Name FROM products WHERE ProductID > 5 ORDER BY ProductID DESC";
$query = mysql_query($sql);
while (
$row = mysql_fetch_object($query)){
var_dump($row);
}
?>

Warning: session_start() [function.session-start]: Cannot send session cookie

I'm just starting php and test page was working but now getting
Warning: session_start() [function.session-start]: Cannot send session cookie

I just made some minor edits and now its not working.

How can I find out and fix this error in Drupal - Call to undefined function views_build_view()

Whenever I run cron.php it hangs with the error

Fatal error: Call to undefined function views_build_view() in path-to-my-install/includes/common.inc(1537) : eval()'d code on line 3

The site has been up for some time but has multiple admin / authors and no one knows what happened.

How can I narrow down what could be causing this I've looked through tons of files and even raw database fields but still nothing that I can see would be causing this.

Syndicate content