Chinese characters chang into questions mark suddenly

I have run a site in Chinese for 7 months and it is getting popular every month. Then all of a sudden, almost all the Chinese characters on the site changed into question marks. I could not find any relevant information in the Forum here.

I guess I am the only person encounted this problem here. I still hope someone can help me because I really have no clue to solve the problem.

Forms API and form_render Why don't checkboxes have name and id's ??

Need a little help here. I am trying to gather information from multiple checkboxes but looking at the source there are no names or ids for the checkboxes so they are not being sent. I am using form_render and I don't see a #name parameter for checkbox in the docs.

Shazamgallery Problem w/MySQL

I'm trying to modify the shazamgallery.module so that when a user goes to create an image node, they see a list of only the Shazam galleries they have personally created, and not a list of galleries created by all users.

site not working, getting Warning: Can't open file: 'cache.MYI' (errno: 145) msgs

I've tried the fixes that worked for other people having this problem -- repairing/emptying the cache and sessions tables -- but they didn't work for me. None of my tables have any overhead, according to phpMyAdmin. I'm logged into my site, but I can't do anything. More error messages just get added. I'm running Drupal 4.7.2.

Here are the error messages I'm seeing on my site (www.letsdoitontheroad.com) ... thanks in advance for any help/guidance.

"Warning: Can't open file: 'cache.MYI' (errno: 145) query: SELECT data, created, headers, expire FROM cache WHERE cid = 'variables' in /usr/www/users/srcnyc/includes/database.mysql.inc on line 120

Warning: Can't open file: 'cache.MYI' (errno: 145) query: LOCK TABLES cache WRITE in /usr/www/users/srcnyc/includes/database.mysql.inc on line 120

Trouble theming an individual field displayed by views

I am trying to override the presentation of a field that's produced by a view, output in list mode. Basically, I have a CCK date field, and I need the text of the date rather than the node title to be a link to the node. In addition, I have a file upload field that displays the filename, and I need it to display some arbitrary text instead, but with the link to the file.

I had no trouble making similar changes to the node, but after days of reading and experimenting, I cannot wrap my head around this.

I've successfully overridden the list display using the views theme wizard, but it's not like the nodes where I can get my hands on all the parts that make up a link. All I can seem to find is fully-formed link. So I tried taking a look at the sample code created by the views theme wizard to theme an individual field, added it to my template.php and attempted to create template file.

I was working with this generated sample:


/**
* Function to handle a sample field.
*/
function phptemplate_views_handle_field_meetings_and_minutes_node_title($fields, $field, $data) {
$info = $fields[$field['fullname']];

if ($field['handler'] && function_exists($field['handler'])) {
return $field['handler']($info, $field, $data->$field['queryname'], $data);
}

if ($info['handler'] && is_string($info['handler']) && function_exists($info['handler'])) {

Editing behind ISA Server

We have a consultant who has set up a School Website using Drupal. He wants to transfer editing functions to the School secretary but I am unable to give her the ability to bring up the edit mode fully - there is only the window with the text embedded in html tags, instead of the simple text view with the buttons for editing. I have been able to bring up edit mode at home, so I assume it is the ISA Proxy server that is blocking it from doing so. Do I need to write a specific rule to allow access?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x