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
<?php | |
/* Change Upload Path of Files */ | |
add_filter( 'gform_upload_path', 'change_upload_path', 10, 2 ); | |
function change_upload_path( $path_info, $form_id ) { | |
$name = rgpost( 'input_1_3' ) . '_' . rgpost( 'input_1_6' ); | |
$date = getdate(); | |
$path_info['path'] = '/home/antonianawards/public_html/wp-content/uploads/entry-submissions/' . $name . '-' . $date['mon'] . '_' . $date['mday'] . '_' . $date['year'] . '_' . $date['hours'] . $date['minutes'] . $date['seconds'] . '/'; | |
$path_info['url'] = 'https://antonianawards.com/wp-content/uploads/entry-submissions/' . $name . '-' . $date['mon'] . '_' . $date['mday'] . '_' . $date['year'] . '/'; | |
return $path_info; |
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
<?php | |
/* Add checkout fields for Invoice Name and Event Date */ | |
add_action( 'woocommerce_after_order_notes', 'add_dpc_fields' ); | |
function add_dpc_fields( $checkout ) { | |
echo '<div id="custom_checkout_fields"><h2>' . __('Event Details') . '</h2>'; | |
woocommerce_form_field( 'invoice_name', array( | |
'type' => 'text', |
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
<?php | |
/* Add checkout fields for Invoice Name and Event Date */ | |
add_action( 'woocommerce_after_order_notes', 'add_dpc_fields' ); | |
function add_dpc_fields( $checkout ) { | |
echo '<div id="custom_checkout_fields"><h2>' . __('Event Details') . '</h2>'; | |
woocommerce_form_field( 'invoice_name', array( | |
'type' => 'text', |
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
Apr 13, 2016 03:07:52 [0x7f2e53fd9700] INFO - [Transcoder] Input #0, matroska,webm, from '/home/fridaynext/TV Shows/Better Call Saul/Season 2/S02E09 - Nailed.mkv': | |
Metadata: | |
encoder : libebml v1.3.3 + libmatroska v1.4.4 | |
creation_time : 2016-04-12 08:17:36 | |
Duration: 00:49:04.58, start: 0.000000, bitrate: 7772 kb/s | |
Stream #0:0, 4, 1/1000: Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) | |
Metadata: | |
BPS : 7386869 | |
BPS-eng : 7386869 | |
DURATION : 00:49:04.567000000 |
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
Technical information | |
===================== | |
The following list covers which files have failed the integrity check. Please read | |
the previous linked documentation to learn more about the errors and how to fix | |
them. | |
Results | |
======= | |
- core | |
- EXTRA_FILE |
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
04-06-2016 @ 19:03:36 - Received invalid response from PayPal | |
04-06-2016 @ 19:03:57 - Checking IPN response is valid | |
04-06-2016 @ 19:03:57 - IPN Request: Array | |
( | |
[body] => Array | |
( | |
[cmd] => _notify-validate | |
[mc_gross] => 0.01 | |
[invoice] => WC-2082 | |
[protection_eligibility] => Ineligible |
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
04-06-2016 @ 14:54:26 - Received invalid response from PayPal | |
04-06-2016 @ 14:57:07 - Checking IPN response is valid | |
04-06-2016 @ 14:57:09 - IPN Request: Array | |
( | |
[body] => Array | |
( | |
[cmd] => _notify-validate | |
[mc_gross] => 1015.00 | |
[invoice] => WC-2080 | |
[protection_eligibility] => Ineligible |
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
echo '<div class="contentblock" style="background:-webkit-radial-gradient(top center, ellipse cover, rgba(255,255,255,0.2) 0%,rgba(0,0,0,0.9) 90%), url(\'' . wp_get_attachment_url( get_post_thumbnail_id( $post->ID )) . '\') repeat ">'; |
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
root@horsehead:~# pritunl logs | |
[undefined][2016-03-28 11:50:39,267][ERROR] Pritunl setup failed | |
Traceback (most recent call last): | |
File "/usr/lib/pritunl/local/lib/python2.7/site-packages/pritunl/setup/__init__.py", line 59, in setup_db | |
setup_mongo() | |
File "/usr/lib/pritunl/local/lib/python2.7/site-packages/pritunl/setup/mongo.py", line 53, in setup_mongo | |
connectTimeoutMS=MONGO_CONNECT_TIMEOUT, | |
File "/usr/lib/pritunl/local/lib/python2.7/site-packages/pymongo/mongo_client.py", line 326, in __init__ | |
seeds.update(uri_parser.split_hosts(entity, port)) | |
File "/usr/lib/pritunl/local/lib/python2.7/site-packages/pymongo/uri_parser.py", line 244, in split_hosts |
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
fridaynext@horsehead:~$ pritunl logs | |
Traceback (most recent call last): | |
File "/usr/bin/pritunl", line 9, in <module> | |
load_entry_point('pritunl==1.21.928.27', 'console_scripts', 'pritunl')() | |
File "/usr/lib/pritunl/local/lib/python2.7/site-packages/pritunl/__main__.py", line 209, in main | |
setup.setup_db() | |
File "/usr/lib/pritunl/local/lib/python2.7/site-packages/pritunl/setup/__init__.py", line 54, in setup_db | |
setup_local() | |
File "/usr/lib/pritunl/local/lib/python2.7/site-packages/pritunl/setup/local.py", line 29, in setup_local | |
with open(settings.conf.setup_key_path, 'r') as setup_key_file: |