…)SQL_HANDLE_STMT,StmtHandle, RetCode,__LINE__,__FILE__ ); } RetCode = SQLBindParameter…)SQL_HANDLE_STMT,StmtHandle, RetCode,__LINE__,__FILE__ ); } RetCode = SQLBindParameter… Discussion Thread by shappell in Software Development
c++
10 Years Ago
…com/appgini/download/ include(dirname(__FILE__)."/defaultLang.php"); include…(dirname(__FILE__)."/language.php"); …x->Render(); include(dirname(__FILE__)."/header.php"); echo… Discussion Thread by lamiv007 in Web Development
php
8 Years Ago
…['parserhook'][] = array( 'path' => __FILE__, 'name' => 'Cite', 'author'…php' ); $wgParserTestFiles[] = dirname( __FILE__ ) . "/citeParserTests.txt";… $wgAutoloadClasses['Cite'] = dirname( __FILE__ ) . "/Cite_body.php"… Discussion Thread by newtodaniweb in Web Development
php
7 Years Ago
….php'); require_once(dirname(__FILE__) . '/database.php'); require_once(dirname(__FILE__) . '/cron_job.php'); require_once…(dirname(__FILE__) . '/extrafeed.php'); .... [/CODE… Discussion Thread by jrhitokiri in Web Development
php
6 Years Ago
…']}';") or die( _OP_ERROR(mysql_error(), __FILE__ ,__LINE__) );; $xUPLINE_INT = mysql_num_rows($xUPLINE_INT_SQL); … 1;") or _OP_CRON_RENTED_ERROR(mysql_error(), __FILE__, __LINE__); $QUERY_DAT = mysql_fetch_assoc($QUERY_SQL); … Discussion Thread by andyliany in Web Development
php
5 Years Ago
…check_mysql(mysql_query($query), $query, __LINE__, __FILE__); } extend_auction($item_id, $c); $…;check_mysql(mysql_query($query), $query, __LINE__, __FILE__); $fakebids = 1; } else { … Discussion Thread by _DMC in Web Development
php
4 Years Ago
…check_mysql(mysql_query($query), $query, __LINE__, __FILE__); } extend_auction($item_id, $c); $…;check_mysql(mysql_query($query), $query, __LINE__, __FILE__); $fakebids = 1; } else { … Discussion Thread by _DMC in Web Development
php
…;check_mysql(mysql_query($query), $query, __LINE__, __FILE__); } if ($proxy_max_bid == $bid) { $…;check_mysql($result_old_winner, $query, __LINE__, __FILE__); $OldWinner_nick = mysql_result($result_old_winner, 0… Reply by _DMC
4 Years Ago
…('_JEXEC') or die; require_once dirname(__FILE__) . str_replace('/', DIRECTORY_SEPARATOR, '/../../../functions.php'); $view…('_JEXEC') or die; require_once dirname(__FILE__) . '/classes/ArtxPage.php'; require_once dirname… Discussion Thread by ehcraig in Web Development
php
4 Years Ago
…('_JEXEC') or die; require_once dirname(__FILE__) . str_replace('/', DIRECTORY_SEPARATOR, '/../../../functions.php'); $view…('_JEXEC') or die; require_once dirname(__FILE__) . '/classes/ArtxPage.php'; require_once dirname… Discussion Thread by ehcraig in Web Development
php
Also, I'd do an `echo dirname(__FILE__) . '/classes/ArtxPage.php'` and make sure this prints out the correct, expected path. Reply by EvolutionFallen
4 Years Ago
…=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1…($__ln);}}else{die('The file '.__FILE__." is corrupted.\n"…: the file <b>'.__FILE__.'</b> requires the… Discussion Thread by rolanduk in Web Development
php
4 Years Ago
…)){ case 1: return dirname(__FILE__).'/font/arial.ttf'; break;… case 2: return dirname(__FILE__).'/font/verdana.ttf'; break; default… : return dirname(__FILE__).'/font/arial.ttf'; break; } }… Discussion Thread by dansonyun in Web Development
php
3 Years Ago
… header('Location: '.basename(__FILE__)); exit; } else…header('Location: '.basename(__FILE__)); exit; } else… Discussion Thread by Eagle.Avik in Web Development
3 Years Ago
…mysql_close($db); header('Location: '.basename(__FILE__)); exit; } else if ($…($db); header('Location: '.basename(__FILE__)); exit; } else if ($… Discussion Thread by jotapx in Web Development
3 Years Ago
…Database File: '.$sDbFileName ); unlink( dirname(__FILE__).'/'.$sDbFileName ); } }//for if ( $…function getAllCpanelDatabases() { include_once( dirname(__FILE__).'/xmlapi-php/xmlapi.php' );… Discussion Thread by fiddler80 in Web Development
3 Years Ago
….path.join(os.path.dirname(__file__))`? serverinfo.pyw #!/usr/bin….path.join(os.path.dirname(__file__), "flags", filename + &….path.join(os.path.dirname(__file__), "servers.txt"),… Discussion Thread by Odyssey2001 in Software Development
2 Years Ago
….path.join(os.path.dirname(__file__))`? serverinfo.pyw #!/usr/bin….path.join(os.path.dirname(__file__), "flags", filename + &….path.join(os.path.dirname(__file__), "servers.txt"),… Discussion Thread by Odyssey2001 in Software Development
__file__ is the name of de module file that is actually in use. os.path.dirname gets the directory path where the __file__ is stored. os.path.join creates a new path concatenating first argument to second argument. Reply by juanpa_2510
2 Years Ago
… return $this->display(__FILE__, 'views/blockcategories_admin.tpl'); … } return $this->display(__FILE__, 'blockcategories.tpl', $cacheId); …$display = $this->display(__FILE__, 'blockcategories_footer.tpl', $this->… Discussion Thread by fireburner29 in Web Development
php
2 Years Ago
…=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1…($__ln);}}else{die('The file '.__FILE__." is corrupted.\n"…: the file <b>'.__FILE__.'</b> requires the… Discussion Thread by adsegzy in Web Development
php
2 Years Ago
…/London'); /** PHPExcel_IOFactory */ require_once dirname(__FILE__) . '/Classes/PHPExcel/IOFactory.php'; …objWriter->save(str_replace(__FILE__,'excelfiles/'.$name.'.xls',__FILE__)); //$objWriter->… Discussion Thread by ehpratah in Web Development
1 Year Ago
…/London'); /** PHPExcel_IOFactory */ require_once dirname(__FILE__) . '/Classes/PHPExcel/IOFactory.php'; …objWriter->save(str_replace(__FILE__,'excelfiles/'.$name.'.xls',__FILE__)); //$objWriter->… Discussion Thread by ehpratah in Web Development
…London'); /** PHPExcel_IOFactory */ require_once dirname(__FILE__) . '/Classes/PHPExcel/IOFactory.php';…->save(str_replace(__FILE__,'excelfiles/'.$billname.'.xls',__FILE__)); //$objWriter->… Reply by ehpratah
1 Year Ago
…/London'); /** PHPExcel_IOFactory */ require_once dirname(__FILE__) . '/Classes/PHPExcel/IOFactory.php'; …objWriter->save(str_replace(__FILE__,'excelfiles/'.$name.'.xls',__FILE__)); //$objWriter->… Discussion Thread by ehpratah in Web Development
…London'); /** PHPExcel_IOFactory */ require_once dirname(__FILE__) . '/Classes/PHPExcel/IOFactory.php'; …->save(str_replace(__FILE__,'excelfiles/'.$resfor.'.xls',__FILE__)); //$objWriter->… Reply by ehpratah
1 Year Ago
…Asia/Manila'); /** PHPExcel_IOFactory */ require_once dirname(__FILE__) . '/Classes/PHPExcel/IOFactory.php'; $…->save(str_replace(__FILE__,'excelfiles/'.$resfor.'.xls',__FILE__)); //$objWriter->save… Discussion Thread by ehpratah in Web Development
1 Year Ago
…WHERE `sid` = "' . $sid . '"', __FILE__, __LINE__); } } function getSessionID() { if (!isset… ' WHERE `username` = "' . $key . '"', __FILE__, __LINE__); } elseif ($type == LOADUSER_EMAIL) { $result… Discussion Thread by Benjamin Alexander in Web Development
1 Year Ago
…} >>> pyaudio.pa.__file__ '/Library/Frameworks/Python.framework/Versions… Discussion Thread by Christine_7 in Software Development
1 Month Ago
…} >>> pyaudio.pa.__file__ '/Library/Frameworks/Python.framework/Versions… Discussion Thread by Christine_7 in Software Development
Let's watch http://stackoverflow.com/questions/43563596/python-oserror-errno-9996-invalid-output-device-no-default-output-device too. Reply by rproffitt
1 Month Ago
…} >>> pyaudio.pa.__file__ '/Library/Frameworks/Python.framework/Versions… Discussion Thread by Christine_7 in Software Development
Yes, still desperately waiting for some help on both forums. Reply by Christine_7
1 Month Ago
…} >>> pyaudio.pa.__file__ '/Library/Frameworks/Python.framework/Versions… Discussion Thread by Christine_7 in Software Development
As a test try working apps first before you write new code. I can see this happen if say a Pi was connected to a monitor. Most monitors don't have speakers so the audio over HDMI would fail. As to your Pyaudio, I can't guess your setup. Using https… Reply by rproffitt
1 Month Ago
…} >>> pyaudio.pa.__file__ '/Library/Frameworks/Python.framework/Versions… Discussion Thread by Christine_7 in Software Development
I'm using my Mac, and audio actually seems to be working just fine with other code files in my computer that involve pyaudio and aubio. It's just this one file that seems to be raising an error. I'm guessing it has to do something with the way I am … Reply by Christine_7
1 Month Ago
…} >>> pyaudio.pa.__file__ '/Library/Frameworks/Python.framework/Versions… Discussion Thread by Christine_7 in Software Development
I can't know you were coding and running this on an Apple Mac. Alter my link to reflect that change in detail. As I don't have an Apple Mac but the iPhone and iPad I can't duplicate your issue. Reply by rproffitt
1 Month Ago
…} >>> pyaudio.pa.__file__ '/Library/Frameworks/Python.framework/Versions… Discussion Thread by Christine_7 in Software Development
Just a thought. Review where you got this code from. Was it running on some Apple like yours? They may have it on some PC so your choice of devices may be off. Remember I don't own hardware like yours and you forgot to tell in your opening post. Reply by rproffitt
1 Month Ago