bernbe01
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: parse erroron line 161 put:
echo "Echoed var: " . $logo; echo "<pre>"; print_r($logo); echo "</pre>";if you still can’t find the proper var name, try doing the same code changes for the $imgdir and $bfa_ata vars
i agree with catacaustic that if this is not a customization you are applying to the theme it needs the theme devs to fix this for you
Forum: Fixing WordPress
In reply to: Membershipyou can use a plugin such as theme my login to skin the login and registration pages to your theme, but the functionality exists as long as “Anyone can register” is checked on Dashboard->Settings->General
private pages is what you want for registered members only
to add more access controls you may consider a groups plugin
Forum: Fixing WordPress
In reply to: 403 Forbidden Errorif you’re running windows and this is your only affected computer/phone/device, then i suspect you may have an infection. do you have an alternate browser you can try from your laptop?
Forum: Fixing WordPress
In reply to: parse errorit’s the $logo variable on line 163 as the error implies
unexpected t_string can be a wrong var type
it’s currently defined on line 160:
$logo = $imgdir.$bfa_ata['logo'];try echoing that variable out, if you find out it’s an array print_r it to see whats in it
Forum: Fixing WordPress
In reply to: Lost all of my pages?!I know it sounds stupid but on the All Pages page have you checked the trash?
Forum: Fixing WordPress
In reply to: Can't restore most recent revision of post, Markdown blown awaysorry, that posted funny cuz i had backticks in my sql
SELECT * FROM wp_posts WHERE post_type = "revision" AND post_title = "About"Forum: Fixing WordPress
In reply to: Can't restore most recent revision of post, Markdown blown awaythis query will get you all the revisions for a post, then copy the post’s correct content (i’m not honestly sure which this will be in – i have never tried markdown but i did research on it just now and i’m intrigued!)
after you have the content copied, go edit the post via the backend and paste that in in text mode
here’s the mysql query, change the post_title to the post/page in question
SELECT * FROMwp_postsWHERE post_type = "revision" AND post_title = "About"Forum: Fixing WordPress
In reply to: Domain destination issuewhat you want is this
let me know if you have any questions
Forum: Fixing WordPress
In reply to: Goran Image SizeForum: Fixing WordPress
In reply to: 406: :Not Acceptablecan you make the change through a file manager with your hosting company or ftp/ssh?
do you know if mod security is enabled on your server?
Forum: Fixing WordPress
In reply to: Goran Image Sizeoh yes, i need to say i forgot that these changes should ideally be in a child theme or custom css plugin, otherwise you risk losing your edits when you update your theme
Forum: Fixing WordPress
In reply to: 4.1.1 Issuesthere unfortunately aren’t many options if it’s stuck in a half upgrade. the manual upgrade james references is your best bet.
do you have any backups of the files & database? you would need both to restore properly
you could always try posting something on the jobs page if you really dont want to deal with it
Forum: Fixing WordPress
In reply to: How to make Nav Menu full widthsorry @wpyogi!
I promise to remember to say that next time
Forum: Fixing WordPress
In reply to: Possible security issue – website defacedanytime @gregscott
Forum: Fixing WordPress
In reply to: Show Author's Avatar in Posts Page (list of posts)if you know any php, i can at least point you in the right direction
the wordpress codex for get_avatar may lead you down a google rabbit hole to some code 😛