Archive for the 'PHP' Category

Get FCKeditor work on Oscommerce 2.2 release 2a

OSCommerceToday I downloaded All In One FCK Editor WYSIWYG Editor Oscommerce add-ons since I needed to add a WYSIWYG(What You See Is What You Get) HTML editor on one of my client’s Oscommerce Shopping Cart site.

After I did all uploadings and changes according to the Readme document, I got the following errors after I refreshed the back-end page.

Warning: Failed opening ‘fckeditor_php4.php’ for inclusion (include_path=”) in /var/www/html/catalog/admin/fckeditor/fckeditor.php on line 75

Continue reading ‘Get FCKeditor work on Oscommerce 2.2 release 2a’

Related posts

Fix wp.getusersblogs error in Windows Live Writer after upgrading to WordPress MU 1.5.1

I have been using Microsoft Windows Live Writer to update my blogs for a while, but today I got some errors when I tried to publish a post to my newly upgraded WordPress MU 1.5.1 blog. After this error message, I got a prompt windows to ask my blog logon user name and password. I thought the upgrading changed the user information anyhow, so that I updated my logon password, and re-typed it in Live Writer. When I re-published, again saw the same error. I stopped, and then tried to view the web blog within the WLW. The same wp.getusersblogs error popped-up as I encountered during the publishing.

The following is the detailed error message:

log Server Error - Server Error -32601 Occurred server error. requested method wp.getUsersBlogs does not exist. You must correct this error before proceeding.

Continue reading ‘Fix wp.getusersblogs error in Windows Live Writer after upgrading to WordPress MU 1.5.1′

Related posts

new changes in wp-config.php for WordPress MU 1.5.1

It has been closely two weeks since WordPress released its latest MU 1.5.1 version. I could not get a chance to upgrade mine till today. Normally I just upload all the newer files but wp-config.php to my server via FTPing. During this upgrading, I noticed that the last modified time for newer version of wp-config-sample.php has been changed. To find out what kind of changes inside, I opened the wp-config-sample.php file.

Continue reading ‘new changes in wp-config.php for WordPress MU 1.5.1′

Related posts

The error ‘Unable to determine the page link’ in OSCommerce MS 2

Challenge: Recently I tried to move an older OSC website from one host to another host. After I made changes in the configure.php files and uploaded them to the new host, the first page could not be loaded such error messages as “unable to determine the page link…”. And everything would be fine if I commented out any codes with basename($PHP_SELF) function.

Continue reading ‘The error ‘Unable to determine the page link’ in OSCommerce MS 2′

Related posts

How to set up your own customized template overrides?

Like I copied a post from zen-cart on last weekend, I set up a blank new customized template for zen-cart. But it does not do any good if I do not create any my own overrides to display my own style/texts. The following is a how-to from zen-cart support website covering this topic, and I am pasting here for my own reference.

Basically in the /includes/templates/CUSTOM you can start with copying any templates files/sub-folders from /includes/templates/template_default or /includes/templates/classic, and then whatever your style changes there. But some language related changes should be changed in /includes/languages/LANGUAGE folder.

Continue reading ‘How to set up your own customized template overrides?’

Related posts

How to customized your own template for Zen-cart shopping cart Open Source application

This article is copied from the official zen-cart support web site.

Since Version 1.3.+ Zen Cart™ has moved away from its old table based layout to a CSS based layout.

CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. Change these if needed.

Continue reading ‘How to customized your own template for Zen-cart shopping cart Open Source application’

Related posts

How to display random header images in K2 theme of WordPress

Maybe you already knew, but I just found out from my own experience. This afternoon, I tried to update the header image for this blog. I went into the back-end Dashboard, then click Presentation –>Custom Image Header. There I uploaded a new image, and got the confirmation message. But when I came to my live site, I still saw the old header image. No matter how many time I refreshed the screen, and I also purged the browser cache too. When I thought it was the bug of my K2 plugin/theme, I uploaded another new image but amazingly I saw the second image appeared when I refreshed the screen (I was supposed to see the third one)!

Continue reading ‘How to display random header images in K2 theme of WordPress’

Related posts

How to install wp-catch plugin in WordPress MU mu-plugins folder

I downloaded the wp-catch plugin from WordPress Extend page and need to install on my WordPress MU blog sites. I can put it in the wp-content/plugins folder but I just did not want to active it in all of my blog sites.

Continue reading ‘How to install wp-catch plugin in WordPress MU mu-plugins folder’

Related posts

Download Simplified Chinese Language Pack for WordPress MU 1.3

WordPress MuHere you can only download Chinese Language Pack for the multiple-user version of WordPress 1.3, if you would like to get the latest language pack for single user of WordPress MU, please Click here

Chinese Localization files for WordPress MU 1.3

(1783 Strings, last updated on 2007-11-03 11:00 am)

zh_CN.mo
zh_CN.po

Continue reading ‘Download Simplified Chinese Language Pack for WordPress MU 1.3′

Related posts

How to enable or use Javascript and Flash embed in WordPress MU

WordPress Mu
Whenever I enter Javascript tags like <script>...</script> in the WordPress MU posts, they will disappear. The same thing is with the <object>..</object> and other HTML tags. I understand they got stripped by some filter codes due to the consideration of web security. But I need such tags badly since I have a lot of YouTube videos need to be embedded which come with <object> tags, and some Javascript tags too (like the countdown image from Ubuntu in my previous post).

What are the solutions? I could not find any official solutions from the support forum of WordPress MU website. Someone recommends to put the Javascript text in sidebar, or download some plugins to do so. Since I need to show videos in my posts, the widget sidebar one can not be good to me. I decide to change filter code file which was not my best choice though. Continue reading ‘How to enable or use Javascript and Flash embed in WordPress MU’

Related posts

Share the experience of setting up WordPress MU

WordPressAs my previous post indicated, I installed WordPress MU 1.2.5 to replace my 3 individual weblogs powered by WordPress 2.2.1. Although the wordpress-mu is based all core features from wordpress, I still had some technical difficulties to get all things right as I wanted from the beginning. Finally I figured some issues out and am sharing here to hope they will be helpful for you too.

Upper Cases user name caused problems for WP-MU 1.2.5.

After the default blog installed, I registered another user name like “WebGuru” since I used it for all my old blogs. But when I tried to log into the blog with this username above and the password I received after the activation, I got an Incorrect User Name or Password error message. Continue reading ‘Share the experience of setting up WordPress MU’

Related posts

Open Source shopping cart Zen-Cart

I used a very good shopping cart before for my own website. This time I have to set up a shopping cart application very quickly for one of my clients. He needs shopping cart component and paypal payment component only. I could not hesitate a second to recommend Zen-cart.

I went to SourceForge.net and downloaded zen-cart 1.3.02, and found that I love it again. Its core code is in PHP/My SQL, very easy to set up and make it up and running. Best of all, it is free with all features I need.

The next step is to tweak it with the customized template. I will let you know soon.

Related posts