paul-ld
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Photo Album Plus] Published view is just a photoAs it is hosted on Windows, we have 404 handler as a shortcut to IIS, to create permalinks. It is the following:-
<?php $qs = $_SERVER['QUERY_STRING']; $pos = strrpos($qs, '://'); $pos = strpos($qs, '/', $pos + 4); $_SERVER['REQUEST_URI'] = substr($qs, $pos); $_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI']; include('index.php'); ?>That looks where index.php is coming from. I’m very basic in php, can you see an easy fix?
Forum: Plugins
In reply to: [WP Photo Album Plus] Published view is just a photoWell I just switched permalink to Post name, the page of photos is now http://www.latindiscover.com/blog/index.php/photo/, and when you click on a thumbnail it correctly shows the next page this time. In other words with permalink set as Post name, the following page works as it should.
But I can’t live with this new structure, with “index.php/” in all permalinks. For SEO, Google etc reasons. This is not a problem of your plugin. But any ideas on how to eliminate? In general setting the URLs are both http://www.latindiscover.com/blog.
In any event, thanks for identifying the problem here.
Forum: Plugins
In reply to: [WP Photo Album Plus] Published view is just a photoRe your last post, both of these debug urls seem to give the same result: 4-5 lines of identical php error message at the bottom. Cannot see the difference.
Re permalinks, yes it is weird. These all:-
Day and name
Month and name
Numeric
Post nameHave this structure in settings: http://www.latindiscover.com/blog/index.php/etc
In other words, for some reason “index.php/” appears where it should not!I will now switch to Post name permalink to see what happens….
Forum: Plugins
In reply to: [WP Photo Album Plus] Published view is just a photonow checked Table IX-A3: Allow WPPA+ Debugging
Forum: Plugins
In reply to: [WP Photo Album Plus] Published view is just a photo1. Shortcode of the post test-album-bernard:
[wppa type=”album” album=”1″][/wppa]For the page photo:
[wppa type=”album” album=”6″][/wppa]2. I will check this.
3. For other sites I use Post name. For this Window-hosted blog, I use Custom structure = /%postname%/. So the example URL given is this: http://www.latindiscover.com/blog//%postname%/. These are the permalink urls you see for the photos above.
For some reason the example URL given for Post name is different from the normal permalink for Post name as it includes index.php, which is why I do not use:
http://www.latindiscover.com/blog/index.php/sample-post/Forum: Plugins
In reply to: [WP Photo Album Plus] Published view is just a photoThanks again.
TableVI settings: I left untouched, as did not understand difference between A & B, and all worked fine in preview. You can see the settings here: http://latindiscover.com/wppa.htm.
Publishing here means moving a post or page from draft to publish on the web, so the whole world sees. The draft can only be seen as preview when logged in to WP admin panel. The URL changes from dynamic (draft) to permalink plus dynamic. I don’t use a local host.
Thanks again for your help on this.
Forum: Plugins
In reply to: [WP Photo Album Plus] Published view is just a photoHi, thanks for answering on this!
http://www.latindiscover.com/blog/test-album-bernard/ is post working properly as preview, not once published.
The large image and thumbnail box are both too large for the post, because I then decided to change the settings to work on a no sidebar page.
http://www.latindiscover.com/blog/photo/ is a link for a page. Also works fully in preview unpublished mode, as seen after copying the code to a static html page: http://www.latindiscover.com/preview-test.htm.
Could be a permalink problem, as it works with a dynamic url. It is a Windows server, with 3.5.2. Other things in the settings panel don’t work, eg getting the photo to load in a separate page, getting the alt to be anything but the photo file name with jpg etc.
Forum: Installing WordPress
In reply to: Database problem?Anyway, installation does DEFINITELY work if DB and blog hosted by the same hosting company. So it is clearly some kind of security issue otherwise that is causing problems.
Forum: Installing WordPress
In reply to: Database problem?“I’m surprised it even worked at all!”
Should be no reason why not. Databases can be accessed from anywhere, are almost never on the same web server. We have one MS SQL database on host 2, and is accessed by websites hosted on host 1 and 2 without problem.
Forum: Installing WordPress
In reply to: Database problem?I need to check but think the latest.
All blogs have been set up the same way: blog hosted by hosting company 1, connecting to mySQL database on host company 2. (Because host 2 does not charge).
2 previously-installed blogs work fine. Now have the problem as reported in this forum with 2 new blogs, each repeatedly installed. As test, yesterday I installed a blog and mySQL DB in a domain 100% hosted by host 2, and this installed fine. So could be some kind of conflicxt between the 2 hosters.
Forum: Installing WordPress
In reply to: Database problem?It has – presumably why the 11 tables were created in the first place from what was previously a blank mySQL database. But then after filling in the form asking for blog name, user, password, etc, none of this gets entered into the database (user table, post table with the example post etc).
Forum: Installing WordPress
In reply to: Database problem?Yes, now tried with a completely new download of WordPress 3.1.2. This time did not create and upload wp-config.php, but let WordPress ask for this data on clicking install.php in the browser. On the first time it then said there was no wp-config.php, so I realized I had to give web visitor right permission for the blog folder.
The next time it confirmed a connection with the database, and then I filled in the set up form. It then created all the tables in the database, but again did not enter anything into these and so only the WordPress logo only appeared for Step 2.