WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Successfully installed & published WP, but errors & questions (9 posts)

  1. MrJPH
    Member
    Posted 3 years ago #

    I wish I had tried out WP before now, but better late than never!

    I have my own website, photography based (at least it will be whenever I finally get done with it!), that I am now making live again, after a couple years absence of not having one up. In the past, I have always used RealMac's RapidWeaver to author and create my websites in the past decade, here on my Mac, but it is limited and it just all got on my nerves enough to finally look elsewhere.

    So, over the past weekend, I installed WP 3.1.1 successfully on my server, and have configured it to be of similar design and look I had been going with in my RW creation and design of my site... and transferred what little content I have gotten up in past month, between creating and designing the website, and am very pleased with what WP offers automatically in way of organization and presentation.

    I am encountering one major error, and do have a couple questions though:

    First the error - Static Page. It annoyingly just brings up an 'Index of' directory page. I have tried to correct this, but have just failed miserably, and don't know how or what to do make it do what it is suppose to do.

    Here are my site's particulars:

    http://www.AnAmateurPhotographer.org

    WP is installed under -

    http://www.AnAmateurPhotographer.org/Journal

    Which if you try to access just that, it also opens that annoying directory page.

    I created two pages, one titled 'Main' to be the page that lists the recent posts, and that is working fine. The second page, 'About', I made the "static" page, and that is what goes to the 'Index of' directory. What do I need to do to remedy this?

    One thing I have quickly noticed with WP, is the hundred million files that it has contained within it, and trying to find where something may be... yeah, that has been an exhaustive and fun search :-) I have noticed that it has like a hundred (ok, a slight exaggeration) 'index.php' files located throughout it, a couple i have found, when opening them, just read "silence is golden" ... WTF?! Anyway, could the number of those be the culprit, in that there only needs to be one, and there are these scores of them?

    And I'll just post one question - the nice little navigational links to lead the visitor to either the previous or next post, I would prefer them be after the post at the bottom, and not right there directly above the post's title. I can see in the 'single.php' code (at least I think I am reading and understanding the code to be describing so), the 'div id' that is talking about those links, and it shows "nav-above" and then below, the title, meta, content, etc., below those, a "nav-below"... and to my ignorant assessment, means that those nav links can either be placed at the top or bottom... but, I just can't find and figure out how to make it be at the bottom. I am sure it's just a simple changing of one little thing, but just where that one little thing is located in the code, I don't know. In my ignorance, I tried just deleting the "nav-above" div, but, naturally that didn't make it default to the "nav-bottom" then working, but, of course, just completely eliminated the nav links altogether.

    Anyway, any guidance and pointing me to directions, to help me in either of these early fixes, I would be most grateful, and thank you upfront for whatever assistance you may lend.

    Again, I am brand spankin' new to the whole WP world, and so far, am liking what I see, and wish I had converted a long time ago! I look forward to eventually, having my full website just done through WP!

    Oh, that is one other quick thing - where in tarnations are all of my published posts files?! I look on my server for them, but see nothing at all of the seven posts on there anywhere... where are they? Or even the two pages for that matter... where are those? Where are they kept at?

    Okay, thank you, very, very much (for just reading this far... if you have!) :-)
    JPH

  2. MrJPH
    Member
    Posted 3 years ago #

    Wow, less than twelve hours and already booted down to page five!

    Could anyone please suggest some directions, guidance for me to find and solve my questions raised?

    Thank you very much for time and assistance!
    JPH

  3. Terry Sutton (saltcod)
    Member
    Posted 3 years ago #

    Have you been able to access WP at all? Or were you working on it and this error page just came up out of the blue?

    What host?
    What directory is WordPress install in?
    Have you setup a subdomain, or did you just make a new directory on your server?

    Give us a little more detail and we'll see what we can do.

    Terry

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    Just some info

    the index.php silence is golden files are not a problem. They keep your directory lists from being displayed if someone tries to access them directly

    Also, yes there are many files. The thing is, what are you trying to find? If you are trying to understand how WP works, download it to your computer and look at the files. You would never need to edit these files. Terrible idea. The only files you ever edit, are in your theme. If you are trying to look at the code to see what is causing errors, again, just use a local copy

    The nav links you are talking about, what theme? Are you still with twenty ten? Or a custom one? Every theme is different. If you are using the twenty ten theme, first off, don't edit it
    http://go.rvoodoo.com/WPchild has more about that

    Also, your posts and pages do not become files. They become data in your database. You either set one up, or if you used a one click install type thing for WP, your host set up a DB. You can use phpmyadmin through your host to look at your DB if you need, but be careful, one wrong move in there and your site can be toast!

    Hopefully that helps, I have a short attention span, and since I can't see your questions while I respond....it's hard to answer everything. If you have more question, I recommend asking them one at a time, nice and specific and as detailed as possible. It makes it easier to get quality answers!

  5. MrJPH
    Member
    Posted 3 years ago #

    Hello, Terry, & Rev., thank you for your time. Sorry for the delayed response getting back to you, I was at work.

    Terry:

    Have you been able to access WP at all?

    Yes, I have no problem accessing WP at all... though, when I am viewing one of my own pages/posts, and it has that little admin toolbar at the top, when I click there to go to the Dashboard, it takes me to that 'Index of' directory page instead of the Dashboard. The address it brings up to go to the Dashboard is -

    http://www.anamateurphotographer.org/Journal/wp-admin/

    Which again takes me to the 'Index of' directory listing page, instead of Dashboard. For me to access Dashboard, I have to add onto the end 'index.php' -

    http://www.anamateurphotographer.org/Journal/wp-admin/index.php

    And it was always this way since setup, not "out of the blue".

    What host?

    I don't see how that is relevant, but, my host is HostExcellence. Again, no PHP MySQL issues or compatibility problems, I have WP installed and up and running as can be seen by the links I have provided... just have the Static Page issue, and the questions I asked.

    What directory is WordPress install in?

    Sorry, I'm not sure what you're asking there... directory? The location on my site's server where the whole WP kit and kaboodle is installed is what I mentioned - In the WP generated folder of 'Journal' on my AnAmateurPhotographer.org website, so it's location is -

    http://www.AnAmateurPhotographer.org/Journal

    Have you setup a subdomain, or did you just make a new directory on your server?

    Nope, no subdomain... just again, the latter (I think) - the 'Journal' folder/directory.

    Rev.:

    the index.php silence is golden files are not a problem. They keep your directory lists from being displayed if someone tries to access them directly

    Ah... I see. Interesting, and cool. Thanks.

    Also, yes there are many files. The thing is, what are you trying to find? If you are trying to understand how WP works, download it to your computer and look at the files. You would never need to edit these files. Terrible idea. The only files you ever edit, are in your theme. If you are trying to look at the code to see what is causing errors, again, just use a local copy

    Well, of course I am just editing the files that I have downloaded, and are up on my site's server, and are making WP work on my site. It is those that I am going in and editing, using my FTP client, Fetch, to access them on my server, and editing them on there directly, with TextWrangler.

    The nav links you are talking about, what theme? Are you still with twenty ten? Or a custom one? Every theme is different. If you are using the twenty ten theme, first off, don't edit it http://go.rvoodoo.com/WPchild has more about that

    Yeah, sorry, my bad - I forgot to mention what theme I was using in my initial post. It is not TwentyTen, but Coraline.
    As for the Nav Links I am talking about, I am talking like with each post, they have the nice links to take you back to the previously written post, or to the post that was written afterwards any particular post. In Coraline (again, the theme I am using), it has those Nav links right above the Title of the post, and I just don't like it there, it makes it too busy, and would prefer it at the bottom, after the post content. In Coraline's theme files, I found in it's 'single.php' file, this code, what I am thinking is it showing that the nav links can be at either the top and bottom:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    You see it has a 'nav-above' and 'nav-below' divs, which is what is making me think that they can be at either location... but, I just can't seem to figure out how to make it so that it is at the below div area, and not the above div area, as it is currently. So, that is what I am talking about there.

    Also, your posts and pages do not become files. They become data in your database. You either set one up, or if you used a one click install type thing for WP, your host set up a DB. You can use phpmyadmin through your host to look at your DB if you need, but be careful, one wrong move in there and your site can be toast!

    Okay, that makes sense to me now... sure. This whole MySQL and database stuff is new to me... but I understand, and it all makes sense to me, as to why I couldn't see the published post files on my server as I was accustomed to in the past... because they are in the Journal database I created. Thank you!

    Hopefully that helps, I have a short attention span, and since I can't see your questions while I respond....it's hard to answer everything. If you have more question, I recommend asking them one at a time, nice and specific and as detailed as possible. It makes it easier to get quality answers

    It did. And I am sorry for the length (and again here!), but that is exactly why it are so long, so as to give you as much info as possible to help whomever, to help me.

    Again, thank you both very much for your replies and assistance. Hoefully, what more info I provided will maybe give you an idea of where I should go to get my static page to work, and to how to change the nav links from above to below.

    Thank you both again, I sincerely do appreciate your time and assistance!
    JPH

  6. MrJPH
    Member
    Posted 3 years ago #

    Sorry, I am less than a week old with WordPress, and wasn't aware of the rules... here is the code that was removed above, in the pastebin thing -

    http://pastebin.com/LdAwa3n3

  7. MrJPH
    Member
    Posted 3 years ago #

    Woo-hoo!!!

    Okay, I solved myself the Static Page problem, by reading the helpful link that was at the end of the Site Address (URL), that is under Settings > General -

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    What you must have been talking about Terry, with the Directory... I had for both my WordPress Address (URL) and my Site Address (URL) -

    http://www.AnAmateurPhotographer.org/Journal

    In the Site Address (URL) field, I just removed the '/Journal' part, and then followed the directions to copy, move and edit the '.htcaccess' and 'index.php' files to the root of my site, and wallah! I now have a working Static Page that doesn't lead to an annoying Index of directory page! :-)

    Though, I still am directed there if I try to access my Dashboard from the admin toolbar at the top of a page of my site when viewed live... but, that is alright and don't care about that, I don't need to use that link, but the one I already have bookmarked... in fact will probably just disengage having the admin toolbar shown in the first place.

    So, woo-hoo! The major problem I got solved... now, the really only other one I have right now, is the moving of the nav-links from being shown at the top of a post, above the title, to below and at the bottom of a post... any ideas?

  8. Terry Sutton (saltcod)
    Member
    Posted 3 years ago #

    Congrats.

    For nav links, just have a look at files like index.php, single.php,loop.php,etc...

    If you're on the frontpage, index.php will be the culprit, and when you've clicked on a post, it will be single.php. Depends on how your theme is setup.

    To move the nav links just look for the block of code starting with something like <div class="nav-above"> and move it to the bottom of the page instead of the top.

    Best of luck!

    Terry

  9. MrJPH
    Member
    Posted 3 years ago #

    Bizarre.

    Thank you, Terry! That was all I needed to do... and now they are exactly where I want them to be - at the bottom, below the post entry.

    What was throwing me, was that code I posted above -

    http://pastebin.com/LdAwa3n3

    that is in the 'single.php', it has the two navigation div classes - one labeled for above, and one labeled for below. Which was leading me to think I had to find and change something set somewhere, for it to not have the links placed above, but instead down below, because it has the code for it to be in either location.

    But, for poops and giggles, I did what you said, and just cut the one labeled for above, and pasted it directly above the coding that is labeled for below, and like I said, it works, and is exactly where I want it to be below, at the bottom. So, whatever the heck that "nav-below" division class is to and for, i don't have the slightest idea, and frankly, I don't care! As Long as the nav links that I care about are where I want them to be, that is all I care about, and am happy! :-)

    So, thank you very much, Terry for your help, I sincerely do appreciate your time and help! And can officially label this here post as 'Resolved'! (and start another one, about how to place a link to subscribe to the RSS Feed on a post/page... and I promise - I'll keep it short this time!)

Topic Closed

This topic has been closed to new replies.

About this Topic