Issue Details (XML | Word | Printable)

Key: CONTRIB-27
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Martin Dougiamas
Reporter: Matt Gibson
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Non-core contributed modules

MySQL admin browse view cannot be altered

Created: 04/Dec/06 07:45 PM   Updated: 04/Dec/06 08:12 PM
Return to search
Component/s: Add a project here
Affects Version/s: 1.7, 1.7.1, 1.8
Fix Version/s: None

Environment: Win2k3, Apache, MySQL 5.0.18, PHP 5.1.1, MySQL Admin version 2.8.2

Database: MySQL
Participants: Martin Dougiamas and Matt Gibson
Security Level: None
Affected Branches: MOODLE_17_STABLE, MOODLE_18_STABLE


 Description  « Hide
Going into any table and then selecting browse works OK, but when trying to alter the number of rows displayed, or the page you are looking at, than clicking 'show' gives an error like this:

There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

ERROR: Unknown Punctuation String @ 7
STR: +%
SQL: SELECT+%2A+FROM+%60mdl_cache_text%60


SQL query: Documentation

SELECT+%2A+FROM+%60mdl_cache_text%60

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%2A+FROM+%60mdl_cache_text%60' at line 1

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Matt Gibson added a comment - 04/Dec/06 08:12 PM
additionally, when trying to alter a value via the edit button, the dialogue comes up, but pressing the save button gives this error:

Error

SQL query: Edit

INSERT INTO `mdl_config` ( )
VALUES (
), (
)

MySQL said: Documentation
#1062 - Duplicate entry '' for key 2