rydog65
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Weird PHP Version IssueHi, answered this in another thread, but try going into your word press directory on FTP and find the file named “version.php” in the directory “wp-includes”. Open that file, and about line 42 or so, you should see something like this:
“$required_mysql_version = ‘5.0’;”
Just change the 5 to a 4 and upload changes. Your Word Press website will work and allow upgrades now. There is no need to upgrade your MySQL. That’s a very bad idea because it may break other things running off MySQL databases that are not word press, and shared hosting accounts won’t let you do that anyways, generally.
Forum: Installing WordPress
In reply to: mySQL versionand I obviously meant to write change the 5 to a 4, sorry.
Forum: Installing WordPress
In reply to: mySQL versionHi, since no one really seemed to answer seroxatmad’s first question, i will give you a solution…go into your word press directory on FTP and find the file named “version.php” in the directory “wp-includes”. Open that file, and about line 42 or so, you should see something like this “$required_mysql_version = ‘5.0’;”
Change the 4 to a 5 and your Word Press website will work and allow upgrades. There is no need to upgrade your MySQL and that is a very bad idea because it may break other things running off databases that are not word press, and shared hosting accounts won’t let you generally.
Officially, new releases of Word Press have abandoned testing for MySQL prior to 5, however, it still works, they just don’t test it anymore, so don’t want to say they support it. In my experience, there are no functions in the new Word Press that your old MySQL won’t work with though. So, there you go…a little late, but just saw this thread.
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Date picker failureto clarify that further…this solution creates a simple html form with a “Go” button instead of the ajax form. A bit archaic but gets the job done for me.
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Date picker failureHi all,
This issue was bugging me a lot. I think I had some loop issues somehow competing with the datepicker, causing it to not work at all. The dropdowns worked fine, but when they were selected, nothing happened. There were javascript errors.
For my purposes, I didn’t really need the ajax form so I created a simple javascript function to process the form and bypass the old datepicker form. Simple stuff, but maybe it will help someone having the same issue I was with the datepicker not working. Simply replace the code in datepicker.php with the following:
<?php $cat_id = get_query_var( 'cat' ); if( !$cat_id ) { $cat_id = $spEvents->eventCategory(); } $link = get_category_link( $cat_id ); if( '' == get_option('permalink_structure') || 'off' == eventsGetOptionValue('useRewriteRules','on') ) { $link .= '&eventDisplay=month&eventDate='; } ?> <script type="text/javascript" charset="utf-8"> function combineFields() { document.datePickForm.eventDate.value = document.datePickForm.EventJumpToYear.value+"-"+document.datePickForm.EventJumpToMonth.value; return true; } </script> <form method="post" action="#" name="datePickForm" onSubmit="combineFields();"> <select id='events-month' name='EventJumpToMonth' class='events-dropdown'> <?php echo $monthOptions; ?> </select> <select id='events-year' name='EventJumpToYear' class='events-dropdown'> <?php echo $yearOptions; ?> </select> <input type="hidden" name='eventDate' value='None'> <input type="submit" name="submit" value="Go!"> </form>
and it will work, provided your permalinks are set up right.