ISSUE #1 See post
function mysql_format_date unknown?
mysql_format_date is not a PHP MySQL function.
It is a function the author defined in the
file lib/functions.php This was discussed in
detail in the post
function mysql_format_date unknown?
ISSUE #2 - admin.php is missing the link to ajax.
js
In admin.php, the following line is missing. It should be
added (around line 11).
javascript Code:
<script type=
"text/javascript" src=
"js/ajax.js"></script>
Here is what happens if you don't do this.
If you go to the select button and select "Add New" the
form shows up. This is good. However, when you
go to the Select button
and choose an existing item, the form does not show up.
Here is what is going on in the code.
When you do a select it will go to
js/blog_admin.
js.
When the window loads, it will go to
javascript Code:
document.getElementById('post_id').onchange = show_form;
Then in function show_form it will call fetch_info()
In the fetch_info() function the following line will fail.
javascript Code:
httpObj = createXMLHTTPObject();
This line will fail because this function is in ajax.
js