Jump to content


Corporate Sponsors


Latest News: (loading..)

geoffreywalton

Member Since 21 Oct 2007
Offline Last Active Today, 15:54
*****

Topics I've Started

Web Hosting Performance Tool

21 January 2012, 15:18

This has just been updated and the installation instructions now no longer contain this section


Note: If you for any reasons don't want us to store the report for
statistics you need to add the "noreport" parameter to the URL:

Example: http://www.mysite.com/catalog/whp-x4j4K1c2/?noreport=true

Has been removed so just be aware.

I couldn't see where the no report parameter was accessed in the previous version so maybe it is just recognising reality.

Cheers

G

@TiM-SE

How to get UTF-8 characters to display

06 January 2012, 16:32

Hi

I have converted a db that has 2 languages, Danish and English, from rc2a to 2.3.1 by

1. Exporting the data from an RC2a site

2. Creating a db with

MySQL charset: UTF-8 Unicode (utf8)
MySQL connection collation utf8_general_ci

db collation utf8_general_ci

3. Importing the source file to this db specifying the input file is utf-8

4. Importing a script to alter fields/indexes etc as required.

5. Running a script to correct the data, populating indexes and null fields so it does not break a 2.3.1 site.

6. Exporting the file.

7. Importing the file to a 2.3.1 db.

The site works fine but the Danish description fields display a black diamond with a question mark in it when viewed in FF or a square on ie browsers.

I have tried so many combinations of file formats during the import, export, changed the db charsets/settings but can not get the Danish characters to display.

When the product description record id viewed using phpmy admin the char set shows as utf-8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xml:lang="en-gb"
    lang="en-gb"
    dir="ltr">
<head>
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<title>phpMyAdmin 3.4.3.1 -
    phpmyadmin.xxxxhost.dk</title>
<meta http-equiv="Content-Type"
    content="text/html; charset=utf-8" />

I have set the charset in the languages file to utf-8 UTF-8 da_DK.utf8

<!DOCTYPE html>
<html dir="ltr" lang="da"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

This is when I was trying upper-case.

The site is

http://shop.fyns-dykkercenter.dk

there is htaccess on the site

User : osc
pw: pepsi

You can see it on this product

http://shop.fyns-dykkercenter.dk/product_info.php?products_id=111&language=da

Can anyone suggest a solution?

TIA

G

pcfg_openfile: unable to check htaccess file, ensure it is readable

29 September 2011, 12:59

Just had this problem on a GoDaddy server, got these entries in the error log.


Permission denied: /var/chroot/home/content/52/xxxxxxxx/html/images/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

They do not have a .htaccess file in the images folder.

Site does not have front page extensions as suggested in some posts so unable to reinstall FPE.

So I added in a .htaccess containing

# This is used to restrict access to this folder to anything other
# than images
# Prevents any script files from being accessed from the images folder
<FilesMatch "\.(php([0-9]|s)?|s?p?html|cgi|pl|exe)$">
Order Deny,Allow
Deny from all
</FilesMatch>
and a blank line.

Still the same!!

Finally found the permissions an the directory had been changed to 700.

GD have been having problems with the server so now to investigate if it is a hack or someting GD had done.

Hope this helps someone.

Cheers

G