pragmaMx Support Forum

pragmaMx => integrierte Module => Thema gestartet von: sharkey am 10 Dezember 2004, 10:37:55

Titel: Coppermine XP Publish
Beitrag von: sharkey am 10 Dezember 2004, 10:37:55
Sorry I only speak English.

I can't get XP_Publish to work, I did correct the reg file and change href from "href"="http://mysite.com/modules.php?cmd=publish to http://mysite.com/modules.php?name=coppermine&file=xp_publish&cmd=publish.

I can't view the XP log as there isn't one.

I can upload pictures the other ways.

Xp publish says file was uploaded successfully if choosing existing album but is not, says error if trying to create new album.

Test account name: testaccount
Password:               testaccount

Reg File for XP publish: http://spiderwings.com/publish.reg

Thanks for any help fixing this.
Titel: Re: Coppermine XP Publish
Beitrag von: sharkey am 10 Dezember 2004, 11:24:37
Found it, bad use of $PHP_SELF  in XP publish, didn't add correct directories, hope this helps someone.
Titel: Re: Coppermine XP Publish
Beitrag von: jubilee am 10 Dezember 2004, 11:34:22
ZitatFound it, bad use of $PHP_SELF  in XP publish, didn't add correct directories, hope this helps someone.
Huh, should be $_SERVER['PHP_SELF'] if you use PHP-Version >= 4.1
If you have PHP >= 4.1 and also register_globals is set to off, you will also have Problems width post- and get-variables
(data sending through forms etc).
Seems that the programmer dosen't take care about that ?!
greetings
jubilee
Titel: Re: Coppermine XP Publish
Beitrag von: jubilee am 10 Dezember 2004, 11:53:55
BTW:
There are also other Superglobal Variables for using in php-versions prior to 4.1


old Namenew name
$HTTP_POST_VARS$_POST
$HTTP_GET_VARS$_GET
$HTTP_POST_FILES$_FILES
$HTTP_SERVER_VARS$_SERVER
$HTTP_COOKIE_VARS$_COOKIE

greetings
jubilee