Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter mmpresti

    (@mmpresti)

    Nevermind, it was an “X-Frame-Options: SAMEORIGIN” problem in “functions.php”. The “Log In” link is working now. The WordPress.org link still throws “Refused to display ‘https://wordpress.org/’ in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’. ” This must not be my problem, because “it”, I’m assuming WordPress.org, set the value to SAMEORIGIN. I’ll just make a custom link.

    Is there anyway to delete these resolved posts? Sometimes I post and I do not realize when I do so that the subject only tangentially has to do with WordPress. When I find out afterwards, I look to delete the original support post. How to do this?

    Thread Starter mmpresti

    (@mmpresti)

    I edited the framework/highwind-functions.php file and modified the highwind_move_textarea function, commenting out “print $textarea;” on the last line. Now I only have one textarea.

    I tried doing this before by copying the entire “framework” directory to my highwindchild directory, but it looks like that directory has to stay in the parent directory for editing purposes.

    Thread Starter mmpresti

    (@mmpresti)

    Upon a little further research, this is not so baffling: WebMatrix requires additional configuration for remote connections, so even if the ports were open, the platform would not be configured to make the connection on its own.

    Thread Starter mmpresti

    (@mmpresti)

    Ok, I got it working. I was making things a bit more complicated than they were, as you noticed that it was not necessary to symlink the wordpress directory. When I used to install on apache2 on Debian, I was always under the impression that there had to be a symlink for the install to work. Yet, the wordpress directory could be installed anywhere on the webserver.

    This is still a mystery to me: that when I was deploying the site through WebMatrix, with the site installed on a random port number, when opening that random port on my router and verifying that it was open remotely using a web check tool, I was still unable to access the site through my public ip (xx.xx.xx.xx:random port). I made sure everything was ‘open’ on the firewall but when I scanned my ip address with nmap, it was still showing that port closed. Hmmmm….

    Thanks for the clarification, ClaytonJames. Solved.

    Thread Starter mmpresti

    (@mmpresti)

    Yes, WebMatrix 3 was installed along with the rest of the packages recommended for WordPress in Web PI. I’m using WebMatrix to run the site on my IIS server. I have my home page running on port :80. I do not see why I am getting a random port number affixed to the wordpress site, although you are here suggesting that WebMatrix may be responsible. Why not run it a sub-directory of my website?

    When I install wordpress on Linux I usually make a symbolic link called ‘wordpress’ in a subdirectory of my website root to wherever the wordpress folder is (/usr/share/wordpress). I also must create an empty file in /etc/wordpress that is called ‘config-ip.ad.dr.ress.php’ . I have not had to do any of this on this present Windows installation. Yet it is up and running out of the box with WebMatrix 3.

    Is the normal install on Windows similar to Linux? Should I make a symbolic link in a subdirectory of my webpage root?

    Thread Starter mmpresti

    (@mmpresti)

    No one has any suggestions. Let me specify: In the wordpress table wp_options I can go ahead and change the ‘site url’ value to ‘localhost’ or my public ip and the ‘home’ value to the same, and when I relaunch the wordpress site the url will be rewritten from say ‘localhost/wp-login.php’ to ‘localhost/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%3A21329%2Fwp-admin%2F&reauth=1 . This will not successfully load the login page.

    Only when I specify in the table wp_options that the ‘site url’ and ‘home’ are both http://localhost:21329 do I get a successful login screen when I point my browser to localhost:21329/wp-login.php

    Somehow the redirect function in wp-login.php is caching the random port number 21329 and making this a condition of successfully logging in. Where do I change this?

    Thread Starter mmpresti

    (@mmpresti)

    thanks, very helpful : )

    Thread Starter mmpresti

    (@mmpresti)

    Ok, I figured it out. I was backing up my old wordpress mysql table using mysqldump, and wordpress logs your url at the bottom of each post, with the old ip address. When I restored the old table after reinstalling mysql, the old ip was appended to the posts and many other places in the backup file. This was keeping me from reinstalling wordpress.

    Is there anyway around having to reinstall wordpress every time my ip changes?

    Thread Starter mmpresti

    (@mmpresti)

    This last error message does not really apply to this problem because the only place it is used in wp-db.php is in a condition for “if (DEBUG)”. So this error is only relevant to debugging. Altogether then this problem shows no debugging errors.

    Thread Starter mmpresti

    (@mmpresti)

    Wp-cron is definitely not the problem. I set ALTERNATE_WP_CRON to true in wp-config.php, and I’m no longer getting this error message, but I’m still left with the same problem.

    Now I’m investigating the first error about replacing mysql-connect() with mysqli or PDO. In doing a little research this seems complicated.

    Thread Starter mmpresti

    (@mmpresti)

    I am not sure wp-cron is responsible. So far, after re-installing mysql the problem is still there, so it is not a database connection problem. Here is an outline of the problem:

    1) I try to connect to my wordpress blog http://(new ip)/(blog name)/wordpress

    2) White screen, no debug messages with debugging on.

    3) I try to login to my wordpress blog http://(new ip)/(blog name)/wordpress/wp-login.php

    4) The status of the browser goes from “transferring data from (new ip)…” to “Connecting to (old ip)”! I get to a login screen, but I can’t do anything from there because the links all point to the url that has reverted back to my old ip.

    Thread Starter mmpresti

    (@mmpresti)

    I can’t say I fixed this problem, but it looks far more complicated than I first imagined. When I updated to Trusty (Ubuntu 14.04), the upgrade only partially finished. In other words, I got about 75% through the upgrade because there were unresolvable conflicts. Therefore when I tried to downgrade my version of php I came up against all sorts of unmet dependencies and claims that I had held broken packages. So I couldn’t directly downgrade my version of php.

    Instead, I downgraded my version of Ubuntu. Now I’m back on Saucy 13.10 and have an earlier version of wordpress (3.6.1) and an earlier version of php 5.5.3 (the one I was working with before was 5.5.9). There are no problems now and I can download themes and everything appears to be working fine. I may try to update Ubuntu in the future, but I will definitely do a fresh install instead of an update.

    Thread Starter mmpresti

    (@mmpresti)

    I’ll research the php, still wouldn’t the most current themes work with php5.5 like the “TwentyFourteen” theme? Even the most recent themes are not working, so I’m not sure that it is a php issue. I’m running WordPress 3.8.2. While this is not the latest version, I still have a message telling me, “You have the latest version of WordPress”. I can’t update because of a debug message telling me on the update page that I have a non-object in the update-core.php code in a number of places (the variable $update).

Viewing 13 replies - 1 through 13 (of 13 total)