Forum Replies Created

Viewing 15 replies - 601 through 615 (of 3,259 total)
  • Sometimes a manual update is required, maybe talk to your website hosting support.
    Hear are the instructions:
    https://codex.wordpress.org/Upgrading_WordPress_-_Extended_Instructions

    Your VirtualHost settings look reasonable.

    When I browse to: wp.wecanfixthis.blog
    I get a page that says:
    s is my SubDomain!
    When I browse to: wecanfixthis.blog
    I get a website.

    I’d have to wait until I can transfer my domain name.

    Not at all. Your domain name stays registered at wordpress.com, when you subscribe to hosting the hosting company will give you the nameserver settings required to map a name to the hosting on their computer, you login to your domain management account at wordpress.com and install these nameserver settings, after the names propagate through the domain name caches (up o a day), the name now maps to your hired hosting.

    it would be nice to know that I could actually get this up and running.

    Is the website at: http://wecanfixthis.blog also hosted on your Ubuntu PC ?
    Your subdomain http://wp.wecanfixthis.blog resolves to the same ip address, which would be good if you were hosting the top site, bad otherwise.
    What is the “VirtualHost” block for the top site ?
    Have you restarted the apache2 service since editing the apache2 config files, the config files are only scanned on startup.

    Excuse me Keith, examination of the details provided show that wordpress.com is merely the domain registrar, the site is being privately hosted on a Ubuntu server, you don’t do this with wordpress.com

    Randy, you need to get into the apache2 config docs, like this one:
    http://httpd.apache.org/docs/current/vhosts/
    Say that your website files are at: /var/www/html/wpwcft
    Then in the sites enabled config at (/etc/apache2/sites-enabled/001-local) you would have a block like:

    <VirtualHost *:80>
    DocumentRoot /var/www/html/wpwcft
    ServerName wp.wecanfixthis.blog
    </VirtualHost>

    At the same time, are you really sure you want to host a public facing website, very few people do this.

    • This reply was modified 8 years, 2 months ago by RossMitchell.

    This is my zero changes technique, the platform is Ubuntu 16.04 with apache2 server:
    – download files using filezilla to say: “/var/www/html/cuisine.satimis”
    – snapshot database using phpmyadmin
    – get the database name + user + password from wp-config.php, create these in the localhost database.
    – restore the database onto localhost
    – in the apache2 site config file “/etc/apache2/sites-enabled/001-local”, add a text block like:

    <VirtualHost *:80>
    DocumentRoot /var/www/html/cuisine.satimis
    ServerName cuisine.satimis.com
    ServerAlias www.cuisine.satimis.com
    </VirtualHost>

    (the alias is optional). The apache2 service needs to be restarted.
    Details here: http://httpd.apache.org/docs/current/vhosts/
    – on the localhost, in the “/etc/hosts” file add lines like these:

    127.0.0.1	cuisine.satimis.com
    127.0.0.1	www.cuisine.satimis.com

    details on the hosts file here: https://en.wikipedia.org/wiki/Hosts_(file)
    – on other computers on the LAN (say the host computer is at permanently assigned IP: 192.168.1.27) these other hosts file get lines like:

    192.168.1.27	cuisine.satimis.com
    192.168.1.27	www.cuisine.satimis.com

    You are done, the website barely knows that it has been moved.
    You can switch between using the localhosted website and the GoDaddy one by commenting out the lines in the hosts file.
    You can transfer files and databases at will between the two.

    I have not yet done this with sites that use SSL.

    From google translate:

    Dear I think I have solved the problem, the codes of the files were disorganized …
    But, why does that happen? all the files located in
    / home / u169543763 / public_html / wp-content / themes / zerif-lite / inc /
    were unorganized; it did not work overwriting it from localhost,
    I had to do it manually, for now I can access the panel at the time of
    migrating from localhost everything got messed up.
    I have to re-organize my website?

    regards

    It happens sometimes that FTP does not over write files properly.
    In detailed upgrade instructions:
    https://codex.wordpress.org/Upgrading_WordPress_-_Extended_Instructions#Step_7:_Delete_the_old_WordPress_files
    Detailed instructions on which files to delete and which to keep.
    Then upload the new files.

    • This reply was modified 8 years, 2 months ago by RossMitchell.
    • This reply was modified 8 years, 2 months ago by RossMitchell.

    Very good. Viewing the page source is one thing, very helpful but there is so much to sort through, a storm of details. Please in addition get familiar with the browser inspector, it lets you focus in on the exact region of interest, like a laser beam.
    So that I can apply this laser beam for you, could you kindly provide the details of one of your pages which has multiple headings:
    – The URL of such a page.
    – The text of the different headings.

    Rather than doing the migration from within WordPress, you need to import the database and copy the files using your website hosting management login (probably cPanel). Transferring the files is most easily done via FTP using a program like Filezilla.

    Forum: Fixing WordPress
    In reply to: multiple databases

    I am not sure I understand your question.

    Usually you have one database for each WordPress site. It is possible to run several WordPress sites sharing the same database, in this case the tables all have distinct names, the separate sites do not share information through the database.

    It is unusual but possible to have a site access more that one database, this would be done for special database processing, where the second databases where interacting with different systems.

    Your redirect is done on the first line.
    Then you have two identical blocks that do the standard WordPress permalinks processing, you only need one of these, so keep a copy of the original file, and replace its contents with:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Have you looked in both pages and posts ?

    Are there any other editors / authors / administrators on this website ? Could they have tidied up for you ?

    Has your website hosting had an incident that required them to restore your website from a backup ?

    From Google translate:

    Dear good afternoon, greetings to all. Please, I would like you to support me in the resolution of this error today 06/03/2018 I have made a migration from my website that I had in localhost to my hosting everything done correctly but when entering http: // http://www.redsysweb.com.ve generates the following error: Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home/u169543763/public_html/wp-content/themes/zerif-lite/inc/jetpack.php on line 1

    I appreciate your valuable collaboration and support.

    Best regards

    Suggest that you look at the file:
    /home/u169543763/public_html/wp-content/themes/zerif-lite/inc/jetpack.php
    And compare it with the same file on your localhost.

    Sorry, cannot view.

    What was the last thing you did or changed on your website ?

    Do other websites on the same hosting work ?

    Have you tried talking to your website hosting support ?

    Well done for finding the css you need to target using your browser inspector. Now to make it permanent. The easiest way is using the customizer. Login to your WordPress dashboard, get one of your web pages into view, along the top choose Customizer, then go to the additional css tab, then add:

    .woocommerce-Price-amount {
     vertical-align: top;
    }

    When you are happy, click “Publish” to make your changes permanent.

    Again your separate boot environments will not interact with each other.
    However it should not be necessary to go this far. Any development too worth using has the good manners to play nicely with other tools.

    That said I do nearly all my development and other work under Ubuntu, in particular “Ubuntu Mate”, I also put lots of computer users onto this system, depending upon their background I can give them either Redmond (=Windows) or Cupertino (=Mac) desktops with minimal cultural shock.
    On the rare occasions when I need to use Windows tools, I run WinXP under a VirtualBox environment.

    But my immediate advice is tell you to get on with developing WordPress sites, and just use whatever tools you have at hand, I know that I could spend more than a human lifetime setting up my ideal dev environment, so I still don’t have it, but I have done lots of good work instead.

    Once you have a text editor that can color code PHP files you are good to launch.

Viewing 15 replies - 601 through 615 (of 3,259 total)