Portable_XH

Questions about how to install and problems installing - please read the documentation first!
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Portable_XH

Post by cmb » Sat Mar 24, 2012 9:14 pm

Hello Community,

I've just released Portable_XH 1alpha1. You can get it from my website.

Portable_XH is a portable CMSimple_XH distribution for Windows that is meant to run on your local machine without the need to have a webserver with PHP installed. It requires no installation, runs under a guest account and even from an USB drive. It doesn't allow access from other computers, particularly from the internet, so its absolutely fine, when incoming requests are blocked from your firewall.

Portable_XH is the perfect solution to have a demo of CMSimple_XH at hand, or to portably prepare a website without uploading it to some webspace in the first place.

Portable_XH couldn't be tested so far in various environments. It is a so called ALPHA version. Use with caution!

Usage: unzip and execute Portable_XH.exe and have a look at the toolbar notification area.

As always any feedback is welcome. I'm especially interested in which environments it works or not (Windows version, User account settings, Firewalls etc.) And of course, if you find it useful (and if so, for which purposes).

Christoph

PS: I was in doubt, where to post this. Perhaps the thread should be moved to a better place.
Christoph M. Becker – Plugins for CMSimple_XH

maeg
Posts: 525
Joined: Fri Feb 20, 2009 2:27 pm
Location: Agerbæk, Denmark
Contact:

Re: Portable_XH

Post by maeg » Sun Mar 25, 2012 3:17 pm

Hi

Thats really cool :D

Thx for sharing that

bca
Posts: 293
Joined: Tue Sep 15, 2009 4:49 pm

Re: Portable_XH

Post by bca » Thu Mar 29, 2012 3:39 pm

Nice!

So far works ok in XP SP3
Windows firewall
Avast antivirus - told me it might be a virus on initial run


B

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Portable_XH

Post by cmb » Thu Mar 29, 2012 4:38 pm

Hi B.,

thanks for the feedback and the infos. :)
bca wrote:told me it might be a virus on initial run
It's compiled with Delphi4 (pretty old version) -- perhaps the signature matches a virus (I had this problem a while ago with Avira and self written C programs compiled with tcc).

But I can asure you and others, that it's no virus or other malware. You can have a look at the sources in src/.

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

bca
Posts: 293
Joined: Tue Sep 15, 2009 4:49 pm

Re: Portable_XH

Post by bca » Sun Jul 15, 2012 6:28 pm

Hi Christoph

When using Portable_XH with Video_XH the video seems to be referenced incorrectly

src="http://localhost/downloads/video.mp4"

Changing it manually to src="./downloads/bw_copy.mp4" makes it work

B

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Portable_XH

Post by cmb » Sun Jul 15, 2012 7:27 pm

Hi B,
I suppose you mean: src="http://localhost/downloads/bw_copy.mp4", so what would have to be changed is just the absolute path.

I've changed the path to be an absolute one in the latest version (1beta3), because I've read, that the flash player sometimes has problems with relative URLs.

But indeed, the given URL cannot work for Portable_XH, as it ignores the port, which is not the default one :!: The absolute URL has to be:

Code: Select all

src="http://localhost:8080/downloads/bw_copy.mp4"
This can be fixed by changing plugins/video/index.php line 22f to:

Code: Select all

define('VIDEO_URL', 'http'
    . (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ? 's' : '')
    . '://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT']
    . preg_replace('/index.php$/', '', $_SERVER['PHP_SELF'])); 
The same holds for Forum_XH and for my suggestion about putting a respective constant into the core. And well, I just thought about user dirs (e.g. http://www.example.com/~user/). Not sure, if the code would work in this case -- have to check that somehow.

Anyway, thanks for pointing this issue out! That might save some trouble in the long run. :)

Christoph

PS: There was another bug in the code -- I've fixed it in place.
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Portable_XH

Post by cmb » Mon Aug 12, 2013 8:12 pm

Hello Community,

I have just released Portable_XH 1beta1.

Enjoy,
Christoph
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Portable_XH

Post by cmb » Mon Feb 10, 2014 10:46 pm

Has anyone tested Portable_XH 1beta1 under Windows 8? Does it work?
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Portable_XH

Post by cmb » Sat Feb 15, 2014 1:32 pm

Hello Community,

I have just released Portable_XH 1rc1.

I have updated to the latest CMSimple_XH 1.6.1 and PHP 5.4.25, and streamlined the start-up.

Enjoy,
Christoph
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Portable_XH

Post by cmb » Sun Feb 16, 2014 7:01 pm

Hello Community,

I have just released Portable_XH 1rc2.

I have fixed some issues regarding 1rc1 (some of them reported by stoa -- thanks!).

Enjoy,
Christoph
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply