Page 1 of 1

[solved] Need Help with php module. Simple php, 1st attempt

Posted: Wed Jan 09, 2008 4:50 pm
by denzel2364
hi there,

i have created an xml file:



    Xbox 360 Gamertag
    08/Jan/2008
    Dean Hodges
    This template is released under the GNU/GPL License
    [email protected]
    http://www.pimpmyxbox.co.uk
    1.0
    Displays your xbox live gamertag
     
         mod_gamertag.php
     



HOpefully that is ok. Ive also created a simple php file:

username;
$ Gamertag = $ name;
$ Position = $ params -> get ( 'position');
?>

> . Card" scrolling = "no" frameBorder = "0" height = "140" width = "204"> >


When i make it a .zip and upload, it comes back with an error "File /xxxx/xxxx/xxxl/360/media/install_4784f59f7b228/mod_gamertag.php does not exist!"


*xxxx being sensitive information

I have attached the mod that i have tried to create. Hope you people have some ideas and help
dean

Re: Need Help with php module. Simple php, 1st attempt

Posted: Wed Jan 09, 2008 5:05 pm
by ianmac
Installs fine here...

Please note though that there is a deficiency in the Mac OS/X package system that adds extra files to zip files without prompting the user.

See http://floatingsun.net/2007/02/07/whats ... -zip-files for more information.

Ian

Re: Need Help with php module. Simple php, 1st attempt

Posted: Wed Jan 09, 2008 5:08 pm
by denzel2364
Thanks ian.
i noticed that there was an issue. You must have known i was on a mac!

can i see it in action? Also if you are on a PC, can you zip it for me.

That would be very kind

Re: Need Help with php module. Simple php, 1st attempt

Posted: Wed Jan 09, 2008 5:31 pm
by ianmac
I didn't know you were on a Mac except by opening up the archive -  I have seen this problem with Mac's before.

You can follow the instructions on the link I mentioned indicating how to get an archiver that works properly.

Even with the extra files, it installed fine here.

Ian

Re: Need Help with php module. Simple php, 1st attempt

Posted: Wed Jan 09, 2008 5:34 pm
by infograf768
One can choose the files and use dropstuff instead of the Finder.
Usually, this get rid of the invisible files.

Re: [solved] Need Help with php module. Simple php, 1st attempt

Posted: Mon Jan 21, 2008 2:28 pm
by motd
You can also use the command line's "zip" command which ignores the __MACOSX stuff if I remember correctly.

Re: Need Help with php module. Simple php, 1st attempt

Posted: Sun Jan 27, 2008 3:25 am
by shaeleigh
ianmac wrote: Installs fine here...

Please note though that there is a deficiency in the Mac OS/X package system that adds extra files to zip files without prompting the user.

See http://floatingsun.net/2007/02/07/whats ... -zip-files for more information.

Ian
FWIW, this seems to have been my problem. If I hadn't seen your post, it never would have crossed my mind.

Re: [solved] Need Help with php module. Simple php, 1st attempt

Posted: Mon Jan 28, 2008 9:09 am
by denzel2364
I hope it helps people.

i have a mac and im using a free bit of software called YemuZip. Its briliant. No problems at all.

Highly recommend