Plogger Support Forum - Windows URL wrong without / after .com Thu, 28 Mar 2024 21:09:09 +0000 http://www.plogger.org/forum/ Lussumo Vanilla 1.1.10 Windows URL wrong without / after .com http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=12899#Comment_12899 http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=12899#Comment_12899 Fri, 11 Jun 2010 00:35:31 +0000 henryk I just installed Plogger on my windows 2008 64bit server and everything with the installation went ok. After I upload a photo to an album I can see the thumbnail and everything looks ok but as soon as I click on the Thumb image it returns a URL like this: http://mydomain.comindex.php/?level=picture&id=5 it will show me the image if I add the / after the .com in the url.

Any help?]]>
Windows URL wrong without / after .com http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=12900#Comment_12900 http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=12900#Comment_12900 Fri, 11 Jun 2010 08:35:09 +0000 kimparsell Options page, when you enter the gallery URL in the General section, you are supposed to include the trailing slash (http://mydomain.com/).

Check your setting for the gallery URL and make sure it has the trailing slash.

If it does and you are still having this issue, let us know.]]>
Windows URL wrong without / after .com http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=12901#Comment_12901 http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=12901#Comment_12901 Fri, 11 Jun 2010 11:26:30 +0000 henryk Windows URL wrong without / after .com http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=12902#Comment_12902 http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=12902#Comment_12902 Fri, 11 Jun 2010 11:46:08 +0000 kimparsell
Also, I'm assuming that you are running the latest version of Plogger (1.0-RC1) that is available for download from the website?]]>
Windows URL wrong without / after .com http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=12903#Comment_12903 http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=12903#Comment_12903 Fri, 11 Jun 2010 11:47:54 +0000 henryk
Thank you]]>
Windows URL wrong without / after .com http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=12904#Comment_12904 http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=12904#Comment_12904 Fri, 11 Jun 2010 12:45:10 +0000 sidtheduck
Try downloading the updated plog-load-config.php file from SVN here and replace your existing 1.0-RC1 file with that. There have been some additions to the base URL variable and Windows machines. Please try it out and let us know if you are still having issues.]]>
Windows URL wrong without / after .com http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=12910#Comment_12910 http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=12910#Comment_12910 Sat, 12 Jun 2010 21:50:49 +0000 henryk
My admin setting have the / after the gallery url so it should work. Please, any help?]]>
Windows URL wrong without / after .com http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=13032#Comment_13032 http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=13032#Comment_13032 Tue, 20 Jul 2010 12:15:23 +0000 keg Windows URL wrong without / after .com http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=13033#Comment_13033 http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=13033#Comment_13033 Tue, 20 Jul 2010 13:55:11 +0000 jmcpeak
I tried the new plog-load-config.php file as well, no luck.

http://mydomain.com/plogger/plog-admin/index.php?r=plog-options.php

It will not hold a session.

Server Software: Apache/2.0.46 (CentOS)
PHP Version: 4.3.2 (APACHE2FILTER)
MySQL Version: 4.1.22
GD Version: bundled (2.0.12 compatible) with JPEG support
Session Save Path: /home/m/c/mydomain.com/html/tmp
File Upload Size Limit: 2MB
Temporary Memory Limit: 64M
Code Run Time Limit: 300s


Thanks,

Jason]]>
Windows URL wrong without / after .com http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=13273#Comment_13273 http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=13273#Comment_13273 Fri, 17 Sep 2010 16:38:41 +0000 cjdmax
check plog_load_config.php in the plogger root dir for the following code:

if ($config['use_mod_rewrite'] == 1 && $config['embedded'] == 0) {
$config['baseurl'] = 'http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/';
// otherwise just use our cleaned up version of $_SERVER['PHP_SELF'] from plog-globals.php
} else {
$config['baseurl'] = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];
}


edit both variable assignments to something like this:
$config['baseurl'] = 'http://'.$_SERVER['HTTP_HOST']. "/" . $_SERVER['PHP_SELF'];]]>
Windows URL wrong without / after .com http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=13492#Comment_13492 http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=13492#Comment_13492 Mon, 22 Nov 2010 02:47:21 +0000 henryk
Your solution WORKS. Thanks a lot now it works perfectly.

Thank you]]>
Windows URL wrong without / after .com http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=14080#Comment_14080 http://www.plogger.org/forum/comments.php?DiscussionID=3279&Focus=14080#Comment_14080 Tue, 11 Oct 2011 02:48:52 +0000 twariq
First of all i want to thanks for the plogger developers who created such helpful tool for image gallery.

Well i have installed plogger latest version plogger-1.0RC1. But the url is not showing correctly,

it was showing like:
http://www.bangalorepackerandmover.comindex.php?level=picture&id=1

Then i got one solution from Plogger Forum Toipc:
http://www.plogger.org/forum/discussion/3279/windows-url-wrong-without-after-com/#Item_0

By using this script i got "/" after my domain name, and now the link looks like this:
http://www.bangalorepackerandmover.com/index.php?level=picture&id=1

But the actual problem is i have installed plogged in sub directory "http://www.bangalorepackerandmover.com/cards"
and in the above links the directory name is missing, i checked in plogged admin for gallery URL and its mentioned correctly as http://www.bangalorepackerandmover.com/cards/. even after all this i am not able to fix this problem so please please please............... help me out how to fix this issue and to get the correct URL as : http://www.bangalorepackerandmover.com/cards/index.php?level=picture&id=1


Regards
Twariq
twariq@gmail.com]]>