phpepe
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Import issuesHere I posted a contribution to solve this kind of miration problems.
http://phpepe.com/2010/06/wordpress-domain-migration.html
Hope it help you !Forum: Fixing WordPress
In reply to: Import issuesHi all..
Importing / Exporting content in wordpress really sucks.
It’s a basic feature that I hope from any CMS… and the other opensource CMS like Drupal or Joomla do it right.
Why the difficult ?
You will find many and many issues around importing and exporting.
The main reason is that wordpress stores a full absolute url for images, links, etc.
Thats why you cannot simply make a sqldump, a zip of the /public_html folder.. like any other tools.
ALSO If you only want to change your domain name, you can make a disaster in your wordpress installation. Then you must google about your situation, and you can found the right way to fix it after hours.
So i decided to try with the core export / import content.. but :- Image size errors when importing content with images. You must disable php_safe_mode. (wordpress do not requires php safe mode off.. so means hours of debugging a stupid thing)
- After solving safe_mode issue.. Finally the images has copied ok.. but… The image source already point to the original domain ! (the links luckly update ok )
Really, the most used opensource CMS, it’ s so easy to use for the final users but has a very stupid little design/programming that makes stupid things so complicated !
Forum: Plugins
In reply to: register_activation_hook DOES NOT WORKyou can try with
die($debug);
instead of echo.This will throw
“Plugin could not be activated because it triggered a fatal error.$debug”