[Xerte-dev] Re: Media upload

Pat @ Pgogy xerte at pgogywebstuff.com
Mon Jan 28 17:48:41 GMT 2013


Have you started the session?

Try including the path to config.php from upload then seeing what happens

Pgogy Webstuff - http://www.pgogywebstuff.com
Makers of web things of a fair to middling quality

On 28 Jan 2013, at 16:31, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:

> Fixed it, I’ve commented out for now the exit() in this bit:
>  
> if(!isset($_SESSION['toolkits_logon_username'])) {
>   print "You are not logged in.";
> // exit();
> }
>  
> …so the if’s iffy.
>  
>  
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com
> Sent: 25 January 2013 15:04
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Media upload
>  
> if you're testing on xampp
> 
> add something like
> 
> file_put_contents("c:\\xampp\\post.txt", serialize($_REQUEST)) into upload.php (at the top) and see what happens
>  
> Pgogy Webstuff http://www.pgogywebstuff.com
> Makers of Web things of a fair to middling quality
>  
> 
> ----- Original Message -----
> From:
> "For Xerte technical developers" <xerte-dev at lists.nottingham.ac.uk>
>  
> To:
> "For Xerte technical developers" <xerte-dev at lists.nottingham.ac.uk>
> Cc:
>  
> Sent:
> Fri, 25 Jan 2013 14:42:55 +0000
> Subject:
> [Xerte-dev] Re: Media upload
> 
> 
> Seems to only be a problem for me in Firefox – IE8 & Chrome are working normally
>  
> 
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 25 January 2013 14:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Media upload
>  
> 
> Likewise, on xampp using the current trunk, I can’t upload media into a project either.
>  
> 
> This might be a problem in the current zip too…
>  
> 
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross
> Sent: 25 January 2013 14:40
> To: For Xerte technical developers
> Subject: [Xerte-dev] Media upload
>  
> 
> Another problem, not sure if this has come up on here before – I know there have been a few uploading media problems recently but I can’t find a recent one about this.
>  
> 
> I can’t upload any media using current files.  I can select a file from a folder fine, the FileLocation appears in the wizard and the xml is being updated but nothing’s being copied into the user files media folder.
> 
> 
> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130128/18709b76/attachment-0002.html>


More information about the Xerte-dev mailing list