Arlen22
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Permalink ProblemsFrom WordPress Answers (the link won’t work until at least August 18):
There isn’t really enough code as an example to fully understand if there is any additional issues, but the main thing which is causing the URL’s to not work is the fact that the opening anchor tag is not closed. Adding a “> to the end of the first line should fix the issue. In addition the art-PostMetadataHeader div should be closed.
<a href="<?php the_permalink() ?>"> <?php endif; ?> <?php $metadataContent = ob_get_clean(); ?> <?php if (trim($metadataContent) != ''): ?> <div class="art-PostMetadataHeader"> <?php echo $metadataContent; ?> </div> </a>Having said that, nesting a block level element such as a div inside of an inline element such as an anchor is not standards compliant, but this code would have the same effect of linking all the $metadataContent, while being standards compliant.
<?php endif; ?> <?php $metadataContent = ob_get_clean(); ?> <?php if (trim($metadataContent) != ''): ?> <div class="art-PostMetadataHeader"> <a>"><?php echo $metadataContent; ?></a> </div>Forum: Fixing WordPress
In reply to: Redundant roles?Oops, yes, I meant capabilities. Thanks for your help.
Forum: Installing WordPress
In reply to: WordPress auto-install and upgradeA better way would be, before you wipe your old blog, export everything in it by going Tools >> Export. Then reinstall it and import the posts by going Tools >> Import. That way you won’t lose anything in the process. You should also keep a backup of your database in case you lose anything.
Update: Looks like that is what Nacin said. I duplicated him before I read his post.
Forum: Installing WordPress
In reply to: WordPress auto-install and upgradeFirst of all, use FileZilla as an FTP. It works very well. I have looked at Classic FTP, and wasn’t impressed. FileZilla is full of features, and easy to use. http://filezilla-project.org/
Then, I would try this.
- Make a new database and call it “wenutestdb”
- Assign a username and password to it and give them full permissions on that database.
- If you have a wp-config.php file in the root directory, rename it to something like “wp-config-lock.php”. This will prevent the wordpress installation in the child directory from reading it. The word lock has no meaning.
- Make a new child directory, and call it “wptest”. Map it to a subdomain if you want.
- Make sure there are no files in the new directory
- Download a copy of WordPress 3.0 from the website and upload it to your website. From there, unzip it into the child directory. I would recommend using FileZilla for uploading it. Now, just go directly to the next step.
- Go to the URL of the new directory, you should see a page that says
There doesn’t seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.
Click on “Create a Configuration File”
- Follow the instructions. You can leave the last field as it is, but set the other ones to the correct values.
- You should now see a page that says
All right sparky! You’ve made it through this part of the installation. WordPress can now communicate with your database. If you are ready, time now to…
Run the Install. Click on the button.
- Fill in the requested information and click Install WordPress.
- Now, in the dashboard drop-down, click “Updates”. Do you get the error?
Forum: Everything else WordPress
In reply to: WordPress AnswersThe proposal is in the commit phase now.
Forum: Plugins
In reply to: Pluggable Functionswp-settings.php will show pretty much what loads when and what is pluggable and what isn’t.
Forum: Everything else WordPress
In reply to: WordPress AnswersIf you are interested, you can follow the proposal, by clicking on the Follow it! button, without confirming your email address. This would help a lot.