Jorge
Forum Replies Created
-
Forum: Networking WordPress
In reply to: timthumb issue in WordPress MUIf your theme provides the option to “turn off” TimThumb, that may fix the problem.
If you’re not familiar with TimThumb, it may not be a good script to use as attackers exploit Websites that have a poorly configured TimThumb.php file.
The other recommendation is to use another theme that doesn’t employ the use of TimThumb.php.
Forum: Fixing WordPress
In reply to: Publishing a file: SOMEONE KNOWS such plugin?You don’t need to create an index.php to use sub-folder pages like this – http://example.com/sub-folder-page/
That is accomplished using the Permalink structure and creating a new Page from within the WordPress Dashboard.
To gain a better understanding of the Permalink structure from within WordPress go to – http://codex.wordpress.org/Using_Permalinks and http://codex.wordpress.org/Pages
Hope this helps.
Forum: Fixing WordPress
In reply to: Publishing a file: SOMEONE KNOWS such plugin?From what I’m gathering from your post, you can already do that using the Permalink structure.
Go to your Dashboard and click on Settings > Permalinks
http://example.com/wp-admin/options-permalink.phpHope this helps.
Forum: Networking WordPress
In reply to: Do I Have A Network Install? Can't Separate PostsUpgrade your install first to the latest version 3.3.1, then continue reading…
If you’re logged in to the super admin account and are viewing the Dashboard of the main site, you should be able to tell if it’s a Network Install by the top menu bar. There should be a link that says, “My Sites”. If not, and you want to verify, open the wp-config.php file. There should be added code to enable Network. There’s a variety of ways to come about this.
Hope this helps.
Forum: Localhost Installs
In reply to: Server error: installing WP Multisite on localhost under XAMPPTry re-installing WordPress network on a new database and see if the problem persists. Remember use the sub-directory option and not the sub-domain install.
Forum: Networking WordPress
In reply to: Images don't show at my first pageThe broken images are a result of your theme’s use of TimThumb. Try not using PHP to render images.
Hope this helps
Forum: Themes and Templates
In reply to: Created a theme and can't get it to work now.JORGE. I have no clue man.
Er, I made a mistake in explaining it before. Let me clarify.
If this were happening to me, I’d first check the functions.php encoding – especially since the development is on one environment and sent to production on another environment and the two environments may use different encoding to read/execute files.
To find out a generic encoding on various environments – that works and has been tested since the dawn of WordPress – I look no further than Hello Dolly. Simply open Hello Dolly in your text editor (I’m going to describe as if using Notepad++) and look to see if the encoding is displayed on the window. For Hello Dolly, it should read UNIX ANSI.
Go back to your functions.php file on your theme using the same editor and verify the encoding. I’ve experienced problems with plugins and the functions.php file when the files used are encoded with DOS\WINDOWS UTF-8, DOS\WINDOWS ANSI, UNIX UTF-8, etc. I verified the results after some more testing and keeping the encoding to UNIX ANSI corrected the errors.
I realize that I may not be explaining this as well however, this experiment would result in similar errors as described from your first post.
I hope this helps.
Forum: Themes and Templates
In reply to: Created a theme and can't get it to work now.First, having a bunch of stuff on your functions.php file may not be causing the errors – but make sure that all of your functions are properly coded with open and closed brackets. DOCUMENT YOUR WORK EVEN IF YOU’RE THE ONLY LIVING SOUL TO EVER LOOK AT THE WORK – even comment on the small lines of code so when you go back you can see what you’re doing. That’s one of my 2012 resolutions. This has helped me especially when tracking bugs.
From your descriptions, I believe either your functions.php file has incomplete/buggy code OR the charset on the file itself is not supported after you upload to your production host. WITH THAT SAID…
What charset did you use to edit your functions.php file? You might think it’s UTF-8, but to be specific: is it Windows/UTF-8 or Unix/UTF-8? That too plays a big roll in errors when uploading from localhost to a production host.
I use Notepad++ on Windows7 but always make sure the charset is Unix/UTF-8 as Windows ANSII/UTF-8 would produce unexpected lines of text or errors like you described.
Hope this helps.
Forum: Themes and Templates
In reply to: Created a theme and can't get it to work now.What “extra” stuff did you add to your functions.php file on your theme?
Forum: Fixing WordPress
In reply to: How do I Add Space On the top and bottom of widgets in my sidebar?I was going to suggest adding it to your /style.css file found within your theme, however, you need to be aware that the CSS will need to be updated every time the theme is updated from the theme author.
Hope this helps.
Forum: Fixing WordPress
In reply to: image upload not workingHave you tried your “Media Settings” within your Dashboard to define the upload directory?
Edit: I’m assuming your /blog/ is a single install.
Forum: Fixing WordPress
In reply to: How do I Add Space On the top and bottom of widgets in my sidebar?If you add the following code to your CSS, it should help.
div.widget { margin: 0 0 40px 0; }The “0 0 40px 0” represents the top right bottom left sides of your element and I simply added 40 pixels to the bottom margin.
Hope this helps.
Forum: Localhost Installs
In reply to: Huge Special Characters problemI was experiencing problems like this too, turns out it was the character settings on my text editor.
http://wordpress.org/support/topic/anyone-else-experiencing-this?replies=4
I found that when I use a program like Notepad++, you need to set the charset to UNIX/UTF-8 to render the correct output.
Hope this helps.
Forum: Fixing WordPress
In reply to: Query Posts by Tag Within PostYou need to become a bit more familiar with WordPress’s The Loop if you want to get results like what you described.
Also, check into using The Loop within The Loop if you want what you described.
One last thing, if you only need PHP within posts and pages to display categories or tags or any “taxonomic” situation, you may want to consider using plugins to do just that rather than hard coding PHP into the posts. I just figure that hard-coding removes your ability to use the Visual editor on a whim.
Forum: Networking WordPress
In reply to: Confused about directions-need help setting up muDoes anywhere in your .htaccess file say the following?
# BEGIN WordPress # END WordPressIf so, any WordPress rules would go in there including any MU rules.