theblacksheep
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: pagesyour domain link gives a 403, but anyway, if you want a submenu for a sidebar, you can use the flexi-pages plugin, if you want drop down menus elsewhere, you’ll either have to find a theme with that in or get on the jquery / javascript bandwagon.
s.
Forum: Fixing WordPress
In reply to: testing with new theme without disrupting userswell said that man^. there’s a load of info about installing wp locally all over the net and here at wp.org, look into it at the very least.
Forum: Fixing WordPress
In reply to: testing with new theme without disrupting userslamp, wamp, xamp, mamp, whichever, depending on your system. to be honest, it is no hassle at all, download and install the server. download your wp database and wp root directory. done. that’s pretty much it.
Forum: Fixing WordPress
In reply to: testing with new theme without disrupting userswhen i first installed wp, i installed a copy locally, wanted to test a brand new theme as i developed it from scratch, it’s the best way to go if you don’t want to interfere with anything online. make a copy of your current install locally, then when you’ve tested it all and are happy with it, upload it to your live server and it’s all done.
Forum: Fixing WordPress
In reply to: testing with new theme without disrupting usersinstall your wp site locally. test everything and anything without disrupting anything online.
Forum: Fixing WordPress
In reply to: Moving from server to personal pcdo exactly as i said, clear your cache, don’t change your wp-config, make sure your local server is set up right, make sure it points to the root of your wp install, don’t add anything to
http://localhostin your address bar when viewing your home page locally, don’t change any other entries in your database; the live and local settings should be the same apart from thesite_urlandhomeentries.unless someone else can jump in and suggest something different.
s..
Forum: Fixing WordPress
In reply to: Moving from server to personal pcdepending on what local server you’re using, eg, wamp, xamp, mamp, as it might differ in places…
from scratch,
download a copy of your database,
download your wordpress directory,
run your local server.
in your local phpmyadmin or equivalent, create a new database with the same name as the live one.
import your downloaded database to the local one, it’ll update the tables.
check your username and password to see if they match the live database and ensure your priveleges are ALL.
put your downloaded wp directory into wherever you’re supposed to according to your local server instructions, eg ‘htdocs’
in phpmyadmin, in your wp database change both ‘site_url’ and ‘home’ entries in ‘wp_options’ to
http://localhostin your browser, go to
http://localhostsee if that works.
s..
Forum: Fixing WordPress
In reply to: /wp-admin not loading – getting 404 errorgo here, it might help.
you say you haven’t changed anything so it might not, but you might want to give it a go and see what happens.
s.
i love you all, thank you esmi.
that seems to have worked, though i can’t understand why it would suddenly stop working as it did before with two sets of php tags.
much appreciated and thank you for your time, patience and know how.
now to rebuild the site…
s.
thank you for that marventus, but i believe that isn’t the cause of the issue here…
esmi, i copied the whole of the old theme folder back into the new fresh one and then, i deleted the search.php and searchpage.php files as they were the last files i created before the meltdown. problem remains. so then, i took out the functions.php file too, and went back into the admin. problem gone! put the search.php and searchpage.php files back in and there’s no problem so FUNCTIONS.PHP seems to be the cause. however, the issue now is, why is this happening.
here is the whole of the functions.php file as it stands:
<?php if ( function_exists('register_sidebar') ) register_sidebar(array( 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<div class="title">', 'after_title' => '</div>', )); ?> <?php function new_excerpt_length($length) { return 30; } add_filter('excerpt_length', 'new_excerpt_length'); ?>the first part i used to enable widgets on the sidebar, the second part i used to add an excerpt to the search results on the search results page.
any ideas?
thank you.
s.
hi,
the new install was made by copying all the wordpress files from my online host. it is a fresh install as i haven’t changed anything via the wordpress installation online – just as i did when i first set up the local server. the local server is correctly configured.
thanks.
s.
hello again esmi,
my theme seems to be the problem – i removed the added plugins and theme folders from the fresh install. switched back to default theme and created a new page – the permalink box appeared and the page published correctly.
then, i put the old theme folder back in, went to create page, the permalink box DIDN”T appear, instead i get a little light red square under the upload/insert content box.
how can i determine where the problem is, when the theme was seemingly working fine before?
if i open all the files in the old theme folder, the php and css, copy the markup and create new files with that, will this resolve something?
thank you.
s.
hello esmi,
thank you for replying.
ok, so far this is what i’ve done to try and resolve this issue.
i deleted the wordpress database via phpmyadmin and and deleted ALL the wordpress files (actually removed the whole directory out of the localhost path).
i installed wordpress again, from scratch, new database and new files. so far so good. BUT, in order to get somewhere close to where my site was in development, i opened the old wordpress folder (the one that i moved out of the localhost path and replaced with a new installation), and opened the plugins folder. copied all the plugin folders that were working and active at the time to the new fresh plugins directory. went into the admin. saw the plugins listed, but didn’t activate anything.
next, went into the old wp-content directory > themes. copied ‘mynewtheme’ folder, where the theme i was working on is held, into the new fresh wp-content folder. then, went back to the admin, went to pages and add new. i get to the add new page and type in the title for the new page ‘who we are’ and wait for the yellow permalink structure bit below this box to appear so i can edit the way the permalink is displayed, but it doesn’t appear. so anyway, i click publish and then i get a blank screen AGAIN! i click back and the page ‘who we are’ is in the list. i try to trash it, then blank page! click refresh on the browser, get a message saying ‘error in moving to trash’.
can you assist me any further?
i’ve spent two weeks building the site so far and everything was going so well…– and point me to how i would repair my database if needed?
many many thanks.
s.
Forum: Fixing WordPress
In reply to: css AND jquery failure within header.phpok, thanks cnorris, that wasn’t the problem but i figured it out for now, so far so good. i got rid of the “function init method” line and just stuck to <?php wp_enqueue_script(‘jquery’); ?>, and changed every $ to jQuery. i know that may cause conflicts later. the link that might help anyone else, wordpress support jquery question. any plugins, etc, might cause havoc, but we’ll see when we get there.
grazie all.
s..