blank page upload media

18 views
Skip to first unread message

Popovich

unread,
May 19, 2012, 7:58:11 AM5/19/12
to apostr...@googlegroups.com
Hi.
Each time i try to upload a image to apostrophe i get a blank page in the url /admin/media/upload (no errors are shown).
Using services like youtube works fine. 

I have only disabled a couple of modules like  aUserAdmin, aGroupAdmin and  aPermissionAdmin

Any help is apreciated.

Tom Boutell

unread,
May 21, 2012, 11:42:49 AM5/21/12
to apostr...@googlegroups.com
Check your PHP/apache error log files. You probably have a permissions
issue, or both gd and netpbm are missing. Also try the dev controller.
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com

Popovich

unread,
May 31, 2012, 7:45:21 AM5/31/12
to apostr...@googlegroups.com
I dont have any error in the logs. Also the dev controller doesnt show any messages or exceptions.

Tom Boutell

unread,
May 31, 2012, 8:52:26 AM5/31/12
to apostr...@googlegroups.com
What user does Apache run as? What are the permissions and ownership
of web/uploads/media_items?

Popovich

unread,
May 31, 2012, 9:28:41 AM5/31/12
to apostr...@googlegroups.com
Well i dont own the server. Apache/php are configured with suPhp. The permissions of the media_items dir are 777.
This is the demo site:
http://uebsite1.ueb.pt

The passowrd is the default one.

Tom Boutell

unread,
May 31, 2012, 9:38:48 AM5/31/12
to apostr...@googlegroups.com
777 should work. Can you throw some errors deliberately to make sure
they show up in your log files?

Tom Boutell

unread,
May 31, 2012, 9:39:12 AM5/31/12
to apostr...@googlegroups.com
Also, have you tried visiting /servercheck.php on this server?
(servercheck.php comes with the sandbox project.)

Popovich

unread,
May 31, 2012, 10:20:53 AM5/31/12
to apostr...@googlegroups.com
servercheck is fine. i am writing some log messages into the upload action. It seems that the $good variable is allways false so it even dont try to upload the file.

Edit: how is this possible:

if ($count)
      {
        echo .$count;
        // We're not doing stupid iframe tricks anymore, so we can just forward
        $this->forward('aMedia', 'editMultiple');
      } else
      {

the $count returns 1 but the the forwrd is not executed.

Popovich

unread,
May 31, 2012, 12:35:58 PM5/31/12
to apostr...@googlegroups.com
I solved the problem. It was a custom filter who was causing the problem somehow. I have remove the filter and it works now.
Reply all
Reply to author
Forward
0 new messages