Created
July 13, 2014 23:35
-
-
Save sombrafam/bfdd531bbfa97e34f28d to your computer and use it in GitHub Desktop.
Upload PDF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FUNCTION AFTER UPLOAD: | |
attachment_ids=Array ( [0] => 122 ) | |
result=1 | |
post_id=32Array ( [post_ID] => 32 [post_title] => Erlon Cruz [ra] => 123456 [action] => upload_ugc [form_layout] => image [fu_nonce] => d71734168a [_wp_http_referer] => /?p=32 [ff] => f3c01b8520a3bdaf1f0141dd2b20f488 [form_post_id] => 32 ) Post name = Trabalho 1 - (ICA) | |
Upload dir | |
Array ( [path] => /var/www/wordpress/wp-content/uploads/2014/07 [url] => http://www.erloncruz.com.br/wp-content/uploads/2014/07 [subdir] => /2014/07 [basedir] => /var/www/wordpress/wp-content/uploads [baseurl] => http://www.erloncruz.com.br/wp-content/uploads [error] => ) Getting attacments to atta 122 | |
Warning: Illegal string offset 'file' in /var/www/wordpress/wp-content/plugins/frontend-uploader/lib/php/functions.php on line 285 | |
Notice: Uninitialized string offset: 0 in /var/www/wordpress/wp-content/plugins/frontend-uploader/lib/php/functions.php on line 285 | |
Copying '/var/www/wordpress/wp-content/uploads/' to '/exports/data/32/123456.' | |
Warning: copy(): The first argument to copy() function cannot be a directory in /var/www/wordpress/wp-content/plugins/frontend-uploader/lib/php/functions.php on line 302 | |
Notice: Array to string conversion in /var/www/wordpress/wp-content/plugins/frontend-uploader/lib/php/functions.php on line 312 | |
FUNCTION UPLOAD RESULT: | |
layout=image | |
result=ArrayArray ( [post_ID] => 32 [post_title] => Erlon Cruz [ra] => 123456 [action] => upload_ugc [form_layout] => image [fu_nonce] => d71734168a [_wp_http_referer] => /?p=32 [ff] => f3c01b8520a3bdaf1f0141dd2b20f488 [form_post_id] => 32 ) | |
Warning: Cannot modify header information - headers already sent in /var/www/wordpress/wp-includes/pluggable.php on line 1121 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment