I have a Premium SEO Pack – Wordpress Plugin installed and with its Facebook planner, we are supposed to authorize app after providing the initial settings. I have provided all the settings correctly. Provided app id, app secret, app domain, site url (through add platform), settings->advanced->enabled browser OAuth login, provided Valid OAuth redirect URI http://example.org/psp_seo_fb_oauth . But still I get the "**Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain …

Member Avatar
Member Avatar
+0 forum 2

Hi, I have created a test procedure (for the sake of example to get this working) called test_proc like below - DELIMITER $$ CREATE DEFINER=`tloken`@`%` PROCEDURE `test_proc`(In user_id varchar(100), OUT message varchar(1000)) BEGIN set message ='OK'; END and calling it from php test page like below - $sso = $_GET['sso']; $ret = ''; echo $RepExecutQry = "call test_proc(?, ?)"; $stmt = $conn->Prepare($RepExecutQry); $stmt->bindParam(1, $sso, PDO::PARAM_INT, 10); $stmt->bindParam(2, $ret, PDO::PARAM_STR|PDO::PARAM_INPUT_OUTPUT, 32); $stmt->execute(); print "Values of bound parameters _after_ CALL:\n"; print " 1: {$ret} 2: {$sso}\n" Also tried the solution with bindValue(), but the procedure doesn't return anything. $conn is a pdo …

Member Avatar
Member Avatar
+0 forum 11

There's trouble in using font awesome icons as they suggest, so I am using them as below - <i class="nimg nicon-ico_help_rnd_lg" style='color: #FFFFFF !important;' alt="Info" title="Color code information" onclick="info()"></i> and style below - .nimg { height: 37px; width: 37px; float: left; /*display: table-cell;*/ display: block; text-indent: -9999px; vertical-align: middle; /*border:1px solid #FFFFFF;*/ position: relative; color: #FFFFFF !important; /*background-color: #FFFFFF !important;*/ } .nicon-ico_add_rnd_sm{ background: url("/img/plus27.svg") no-repeat scroll 0 50% / 37px 37px transparent; } since I am trying to output the icons on black background, I want them to be in white color. which I am not able to change despite …

Member Avatar
Member Avatar
+0 forum 8

Hello All, I need to modify the default settings for the filesMatch in the apache httpd.conf file from - <FilesMatch "^\.ht"> Order allow,deny Deny from all Satisfy All </FilesMatch> so that to also include - <FilesMatch ".(eot|ttf|otf|woff)"> Header set Access-Control-Allow-Origin "*" </FilesMatch> I would appreciate the suggestions, somehow the combination of these regular expressions is not working for me. I tried below - <FilesMatch "^\.ht|.(eot|ttf|otf|woff)"> Order allow,deny Deny from all Satisfy All Header set Access-Control-Allow-Origin "*" </FilesMatch> Due to this, the server won't start complaining about header setting at the wrong place. Thank you.

Member Avatar
Member Avatar
+0 forum 4

Hi, I have come across another programming challenge again and hopefully I wont close the thread myself this time. I am expecting good suggestions or examples from you to do this. I want to build a (scrollable) nested list, from which children of two parents could get swapped after some validation. I intend to save this modification in the database too but later. To start with jquery code will do. I haven't come with any code yet, but since I started working this, soon I would post my progress here. Your suggestions are well appreciated to get me started quickly …

Member Avatar
Member Avatar
+0 forum 1

Hello, I am installed php 5.3.28 with apache 2.2 and mysql 5.5.38 on windows 64 bit machine, despite configuring php correctly with apache and also enabled the extensions, its not able to recognise the mysql extension loaded. The connection attempt through adodb throws the error "call to undefined function mysql_connect() in adodb\drivers\adodb-mysql.inc.php on line 460". Also the function_exists('mysql_connect') return false; I would appreciate your quick suggestions. thank you.

Member Avatar
Member Avatar
+0 forum 3

Hello, I have an event ('show' & 'click') bounded to the element to make it scrollable using the jquery '.on' method but when I try to bind another event on click like below the alert does not show up - `$('.elem').on('show', function(){//some code here}).on('click', function(){alert($(this).text())});` what I am actually trying to do is, leave this 'tr' hidden initially and while pn click of it make it visible. But its not happening clearly.Thank you

Member Avatar
Member Avatar
+0 forum 2

Hello, I am trying to configure PHP 5.3 on already installed Apache 2.0 on windows machine, using the guidelines mentioned on - http://www.thesitewizard.com/php/install-php-5-apache-windows.shtml So far I have done - LoadModule php5_module "C:/PHP/php5apache2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/PHP" All these at the right spots in httpd.conf file. I have apache in C:/Apache & PHP in C:/PHP directories. I have also downloaded the right php5apache2.dll and placed at the right directory. Restarted the server. But when I try to start the Apache, it does not start and throws the error - "The requested operation could not be completed" Thank you.

Member Avatar
Member Avatar
+0 forum 12

Hi All, I have a ajax call in script like below - function testMe() { $.ajax({ type: "POST", url: "http://3.84.46.104/tloken/test/testAjax.php", // data: "ajax=1&elem=" + elem+"&clicker="+clicker, data: "ajax=1", method: "POST", success: function (html) { alert(html+' >>'); return false; // var response = html.split('@'); // document.getElementById(elem).innerHTML = ""; document.getElementById('cmbxCategory').innerHTML = ""; document.getElementById('cmbxType').innerHTML = ""; document.getElementById('cmbxProvider').innerHTML = ""; //alert(response[0]+' >>'+response[1]+'>>'+response[2]); // $('#'+elem).prepend(html.responseText); $('#cmbxCategory').prepend(response[0]); $('#cmbxType').prepend(response[1]); $('#cmbxProvider').prepend(response[2]); // return false; }, error: function(request, error){ console.log(arguments); alert('>>'+arguments); // return false; } }); return false; } this testMe() is called on click of a button - <button class="btn" id="1u" onClick="testMe(this.id, 1, 'cmbxCategory');">U</button> And my testAjax.php page contains …

Member Avatar
Member Avatar
+0 forum 2

Hello, I have installed apache 2.2 but when I try to make it listen to 80, I can browse the target page and access denied error is displayed. But when I change the listening port to say 8080, I could browse using this port. I have already tried to check if the port 80 is used by some other service or not using netstat -an But only port 80 is listening to only local address, and process id corresponds to httpd.exe as well. That really surprises, if http.exe starts on port 80 but in the browser access denied error is …

Member Avatar
Member Avatar
+0 forum 1

Hi, I am planning to create location tracing based on IP and presenting the relevant contents to the user as par his country, similar to msdn website. I have installed the php_geoip.dll and change the ini file too, to include this dll The dll shows enabled in IIS as well, from php manager. But its simply strange that the php still can not recognize geoip functions in my script and throws error! Also the phpinfo not listing geoip in the installed extensions list. Searching around makes me feel that some how, its about php version. I have php 5.3.2 (ps. …

Member Avatar
Member Avatar
+0 forum 3

Hi, Needs to construct the tables with the meta info retrived by another stored procedure I wrote, given the table id or name. There could be some flaws in the logic, not sure. The flow is - - iterate through one table which stores tbl name, id info - pass above info to sp which would return meta info to calling cursor as result set - store this result set into temp tbl so that another cursor can iterate through them, to construct "create table query" as a string - end inner cursor - execute the concatenated string query - …

Member Avatar
Member Avatar
+1 forum 13

what;s wrong with this mysql trigger logically?? [CODE] DELIMITER | CREATE TRIGGER comment_count AFTER INSERT ON comments FOR EACH ROW BEGIN UPDATE sub_sections as t1 SET t1.published_comment_count = (select count(id) as cnt from comments where article_id=t1.id and published=0 and status=0) WHERE id= (select article_id from comments order by date_modified desc limit 0,1 ); END; DELIMITER ; [/CODE]

Member Avatar
Member Avatar
+0 forum 5

Hi to all experts in the forum. I know scripts can be executed through the command prompt,but what are other ways to execute it, if the file is on remote server. Please specify if any clarification is needed.

Member Avatar
Member Avatar
+0 forum 7

Hi, I have a HP laptop with intel dual core 32bit processor with 512MB RAM & 80 GB HDD. 2 years back I have installed windows XP on it on my own, it was quite easy. But now I need to install FreeBSD for the C++ development on the same laptop. In short I am trying to make it multiOS system.As I have already tried with Wubi's different versions to install on my office PC, but they faild throwing could not download the.." error; so I cant even try the Wubi on my laptop (also dot have internet connection on …

Member Avatar
+0 forum 0

Hi, The dynamically created rows are appended at the end of the table i.e. after the last row of the table (found by table.rows.length) and those individual <tr> contains 8 more <td>s carrying some texts and their respective text fields. Now we have one such default <tr> , which also contains button for adding more row , onclick of which the addRow() function is called to create the dynamic row each time. The code is created dynamically that's fine so far. But when the form is submitted the default textfield's (from the default<tr>) values are found in the echo of …

Member Avatar
Member Avatar
-1 forum 1

Hi, I am working on the jquery slideshow script, which i had borrowed from some famous jquery plugin and customized so nicely so as to look just as par my requirement .Its working perfectly fine in the Internet Explorer but failing to even call the event on click in firefox and that's too without notification of any error in the error console. Now I feel the lack of any debugging tools for jQuery...

Member Avatar
Member Avatar
+0 forum 9

Hi, I am customizing jquery scrollshow, it can be found originally [URL="http://flesler.blogspot.com/search/label/jQuery.ScrollShow"]here[/URL] As you can see in the original script there are only images which scroll, now I have the description to show below each image which should also scroll as the images scroll. This description will include - 1. 'Name of the person in Image' 2.Article Title 3.Article short paragraph (Also this content will come from the db with PHP !) (Initially it can be implemented for some small dynamic text for images) To achieve that i tried to add the 'p tag' inside the image's li tag but …

Member Avatar
Member Avatar
+0 forum 1

Its a scenario of message and the reply post for articles and the posted messages are stored in the database. This message as a parameter is passed to the script (lets call is 'insert.php') doing this insertion is called from the js function onclick of the submit. Inside this 'insert.php', before inserting into the database there is just a mysql_real_escape_string() on that message string passed to it. It replaces the comma with the backslash & comma.And the same is assigned to the hidden variable in the form in the "insert.php" the target of it is the ref i.e. original script …

Member Avatar
Member Avatar
+0 forum 5

my api parsing script has dynamic url, like scriptname.php?limit=100 here this last 100 will change;varying from 0 to the number of lines from the file returned by first cron. And i want to this script to execute as a cron job, but how this parameter 'limit' i should handle. any posts regarding this dynamic cron url will be much appreciated. Please ask to clarify if not clear enough.

Member Avatar
Member Avatar
+0 forum 4

Hi, I have a simple vote up and vote down feature, which on clicking calls a js function and increments or decrements the counter variable accordingly. But i have an issue, some malicious script just executing the script to incrment the counter by vote up. I am not allowed to use the captcha here for validation nor i can use the cookies and cant block the IP also after voting once. Can I have something simple solution than it. I hav the feeling that there can be something really simple than all the methods above, but cant think of it …

Member Avatar
Member Avatar
+0 forum 1

I have an API parsing script, which inserts into the db more than 40,000 rows.and maybe due large numbers of queries getting fired continuously, after some specific time the script throws "MySQL server has gone away" error. I know the reason behind this error can be closed connection or any other privileges on the mysql server. How should I deal with this error , so that i can execute the script completely.

Member Avatar
Member Avatar
+0 forum 4

The End.