3,436 Topics

Member Avatar for
Member Avatar for lewashby

I followed this site -> https://www.box.com/blog/how-to-debug-php-with-vim-and-xdebug-on-linux/ but I'm not having much luck. I followed the firections and my phpinfo() functions is showing that xdebug is up and running but I see don evidence of xdebug from within vim. I typed in my localhost url, localhost/mysite.php?XDEBUG_SESSION_START=1 and then wen to vim …

Member Avatar for lewashby
0
344
Member Avatar for bigtalk

Hello, I am trying to remove the www. at the beginning of our domain name via .htaccess. I'm doing it like this: [code]RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC] RewriteRule ^(.*)$ http://domain.com/$1 [R,NC][/code] It seems to word wonderfully. I would like to retain the www. when someone accesses the site securely with https. …

Member Avatar for bigtalk
0
332
Member Avatar for 9tontruck

Hi, I have a domain and DigitalOcean cloud ubuntu server, and I have been using the server as an email forwarding point. SImply, if someone sends an email to **info@domain.com**, the server forwards to **personal@gmail.com**. The beauty of this is that I don't need to spend my server space used …

0
304
Member Avatar for body212

Hi, i have a code in my cgi script for replace text(for example replace red ro blue) $STR_SEARCH='red' $STR_REPLACE='blue' this work fine.but when i want use gzip for compression,gzip will not work but when i disable the replace,gzip will be work fine. please help me ,that how i can enable …

0
118
Member Avatar for mydreamgirl

I have a standard java web application package under public_html. My java source code is under WEB-INF/classes/. My jsp files are under public_html and public_html/version/v1. Now all of my jsp file under public_html is running fine, however, the jsp files under public_html/version/v1 do not work with following error: *HTTP Status …

Member Avatar for esprittn
0
300
Member Avatar for Elkin Jose

Hello , i am new in adroid programing , and i need some help and info D: I create an activity with a log in "user" and "pass" and takes the user to the welcome activity, the log in works perfect but when i close the app , and re …

0
193
Member Avatar for Tinnin

Hi everyone, I'm trying to upload an mp4 file on my localhost. The page continuously loads until giving me a Request Timeout. The file is 17Mb. I've tested an image file which is 95Kb and that uploads fine. I've changed various settings in my php.ini which I can see have …

Member Avatar for cereal
0
325
Member Avatar for Saboor880

Hello guys! I am using netbeans8.1 and apache Tomcat8.0.27.0 I am making a simple web application for practice. I have made two html pages "index.html" and "welcome.html". On page index.html I am taking two parameters from user 'name' and 'sirName'. If user enters Saboor and Siddique in 'name' and 'sirName' …

Member Avatar for peter_budo
0
183
Member Avatar for phpkoder

I'm working on a web application that will receive gps data and split received string to detailed information and then store it in some database tables. Every piece of application is ready, now I need to setup my **new** server to accept data from gps device. In my gps device, …

Member Avatar for rubberman
0
1K
Member Avatar for lewashby

Linux Mint I logged into phpmyadmin and set the password option to 'no password' and now I can't log in. If I enter the password I was using I get this error -> `#1045 Cannot log in to the MySQL server` and if I don't user a password at all …

Member Avatar for cereal
0
4K
Member Avatar for muze

Hello guys. I successfully loaded local files in Spring Web MVC Application, such as javascript files, css files or image files. They were working fine untill yesterday. All the pictures are not being rendered in JSP view. An error is shown similar to that of title. Here is my configuration. …

Member Avatar for rubberman
0
787
Member Avatar for Aeonix

It might be obvious, but I can't seem to understand it. So don't laugh. Let's assume this scenario. My website has 5 themes, there are 5 buttons. Clicking each button changes theme respectively and uniquely. I use JavaScript to do that, so I set name of theme in a cookie, …

Member Avatar for Aeonix
0
506
Member Avatar for James_43

Hi all, I have an array $pTimeseries with 365 items inside it. I use a simple for statement, as below: //Add TimeStamp to Historic Data for($i = 0; $i < (count($pTimeseries)); $i++) { $pTimeseries[$i][1] = $rawData[$i + $backdate][0]; } In my Apache error logs I get "Undefined offset: 366" all …

Member Avatar for James_43
0
128
Member Avatar for Hedge_1

Hey, I would like to greet you all. I am linux web server administrator webhosting industry. I believe we can dicusess more about us here, I expecting your kind cop-operation.

Member Avatar for ServerHedge
0
249
Member Avatar for gianx80

I'm using Mamp 3 (pro) on Mac OS X Yosemite 10.10; I'v already compiled and installed mod_proxy_html (3.1.2) and mod_xml2enc, they are both correctly loaded by Apache 2.2.29 without issues. This is my typical html file: <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Authorization" content="Bearer dummyToken"> <title>Header …

Member Avatar for cereal
0
570
Member Avatar for best4earn

I have a software which demands this extensions on server , i tried by using xampp but failed. In the beginning it demands zend Guard Loader . I have tried to install on xampp but it can't be installed. I have already read this topic and follow and many topics …

Member Avatar for diafol
0
242
Member Avatar for cakka

Hello, how to write url alias in nginx ? I have create the url alias before in apache. But, now the web is moved to nginx. This is the url alias config (using .htaccess) that I have write in apache : RewriteEngine On # Turn on the rewriting engine RewriteBase …

Member Avatar for diafol
0
241
Member Avatar for sumangola

http://www.xyz.com/detail.php?course=InDesign_CC i want url http://www.xyz.com/detail/InDesign_CC using htaccess ......help me i try a lot but not get success.

Member Avatar for diafol
0
333
Member Avatar for screenedcreamy

Hello, I am getting this error org.apache.jasper.JasperException: The absolute uri: <requiredURI> cannot be resolved in either web.xml or the jar files deployed with this application. Although the required jar is present in the classpath I am still facing this issue. But if I insert the same jar into web-inf/lib folder …

Member Avatar for screenedcreamy
0
245
Member Avatar for amita_1

I want to restart Apache when I change configuration file on a web application which is I need to create a php file for restarting Apache but I dont want to give a permission to user apache in /etc/sudoers Can someone explain intensively to me ? Don't see this is …

Member Avatar for WebHostingUAE
0
2K
Member Avatar for gentlemedia

Hi guys & dolls, I'm working on a website locally with MAMP and the directory tree is the same then that of the dev directory on my web server. `projects --> ecwc --> concept` But I've set the 'projects' directory on my webserver as a subdomain and this screws up …

Member Avatar for gentlemedia
0
376
Member Avatar for SirMahlon
Member Avatar for rsleventhal

Hi, I'm in need of assistance with mod_rewrite. Currently, I've a folder at www.domain.com/folder. I need to leave the files where they are, but have the address bar in the browser appear as someothername.domain.com Any help would be greatly appreciated! I should mention that I've already got a few .htaccess …

Member Avatar for mcglk
0
237
Member Avatar for Pilot122x

Ok, so right to it. int CSQLDB::Init(const char *host, const char *user, const char *passwd, const char *db) { //Init mySQL mySQL = mysql_init(mySQL); my_bool rec = 1; mysql_options(mySQL, MYSQL_OPT_RECONNECT, &rec); if(!mysql_real_connect(mySQL, host, user, passwd, db, 3306, NULL, NULL)) { printf("(!!!) mySql connection rejected!\n"); mysql_close(mySQL); return 0; } failed = …

Member Avatar for マーズ maazu
0
236
Member Avatar for lewashby

I just installed phpmyadmin with `sudo apt-get install phpmyadmin` but now I can't figure out how to get it started. The installation did place a phpmyadmin directory in /etc/ but I don't have anything in /var/www/html/ . I installed this several years ago and it placed a start icon in …

Member Avatar for Ashley_9
0
292
Member Avatar for basketmen

Hi guys, In WHM > Easyapache, there is this PHP extension : Safe PHP CGI - prevents users from overriding system php.ini my question, can i exclude a user from this, so the user can increase like memory_limit in they account? if not, is there alternative for this that allowed …

Member Avatar for rubberman
0
264
Member Avatar for Mannava

5:18:22 PM [Apache] Problem detected! 5:18:22 PM [Apache] Port 80 in use by "Unable to open process" with PID 4! 5:18:22 PM [Apache] Apache WILL NOT start without the configured ports free! 5:18:22 PM [Apache] You need to uninstall/disable/reconfigure the blocking application 5:18:22 PM [Apache] or reconfigure Apache and the …

Member Avatar for dhiraj_2
0
4K
Member Avatar for moneeshot

I am helping a friend switch from Godaddy quick shopping cart to magento. Unfortunately the Godaddy cart automatically creates product and catalog URLS. Using caps, dashes and underscores. I can dupe the link text but magento only allows dashes and no caps, I'd rather not use caps or underscores anyway. …

0
263
Member Avatar for hwoarang69

I set up a servlet project in eclipse and I am trying to connect a Access databasae(Ucanaccess) with it. By looking at below error, its look like I am missing jar files but if you take a look at attchement image. You will see all my jar files are in …

Member Avatar for jwenting
0
2K
Member Avatar for Pyler

Is there a way to install the latest cordova plugin in my project via the command line terminal Something along the lines of cordova plugin add org.apache.cordova.plugin @ 2.0.4

Member Avatar for Pyler
0
74
Member Avatar for Mr.UNOwen

Hello, For some reason javac errors when I import any of the Apache-Spark classes. I've gone through a number of setup guides to see if there's some environment variable I'm missing, but most don't have a step where an environment variable is set. Anyone have a clue what I'm missing? …

Member Avatar for Mr.UNOwen
0
2K
Member Avatar for jkon

Hello, I made a WebSocket service in Apache under CentOs with PHP and JS that works great if the protocol is ws:// . The problem is that the site is served through https:// so I must use wss protocol (cause mixed content policy). I have tried many approaches to make …

Member Avatar for jkon
0
1K
Member Avatar for grakovski

Hi there, I have strange situation. In google's serp i found indexed url's like this: **site.org/index.php/2015-06-27-18-17-32/2014-05-03-23-24-55/76-m40?page=3** how to remove this **/2015-06-27-18-17-32/2014-05-03-23-24-55/76-m40?page=3** if not exists ? Maybe with htaccess, but how ? I want to redirect to index.php all url's when directory not exists. I found some rules but not working …

0
201
Member Avatar for Lindsey_2

I am using -PHP 5.3.3 (cgi-fcgi) -Apache Web Server 2.1.6 -5.1.73-community -MediaWiki (1.22.0) I need to implement auto login for the mediawiki users by using ldap authetication. However, php_ldap.dll is not found in the /ext file so I went to download and enter the extension=php_ldap.dll in the php.ini file. I …

Member Avatar for andrevanzuydam
0
450
Member Avatar for ademmeda

Hi, I have the following entry in my Awstats file: Unknown robot (identified by 'bot*') How can I block this bot? I tried the following separately but none of them seems to be catching it: RewriteCond %{HTTP_USER_AGENT} ^bot* RewriteCond %{HTTP_USER_AGENT} bot\* RewriteCond %{HTTP_USER_AGENT} bot[*] Thanks for any ideas.

Member Avatar for gentlemedia
0
318
Member Avatar for thaifoodlover

Dear DaniWeb community, I am not from computer science background (math guy) but I am interested in machine learning and apache mahout. I have used Mahout CLI and recently looked at development environment and wanted to ask you: while running mahout CLI, we do not have dependencies but in development …

0
130
Member Avatar for thaifoodlover

Dear DaniWeb community, I am not from computer science background (math guy) but I am interested in machine learning and apache mahout. I have used Mahout CLI and recently looked at development environment and wanted to ask you: while running mahout CLI, we do not have dependencies but in development …

0
127
Member Avatar for AhmedHan

I heard a rumour that there is a program named "PHP Tripod" that does the same thing as PHP, MySQL and Apache. Like "three in one". The reason I am looking for this program is having troubles with Apache. Do you know how can I get this program? I searched …

Member Avatar for cwarn23
0
355
Member Avatar for old_apache

I'm trying to convert this xml to json or array. first this is what i did: $response = simplexml_load_string($xml_test); and i got error: < not found, anyone can help me? HTTP/1.1 200 OK Date: Wed, 03 Jun 2015 10:19:38 GMT Server: Apache-Coyote/1.1 Pragma: no-cache Cache-Control: no-cache Expires: Thu, 01 Jan …

Member Avatar for bnmng
0
213
Member Avatar for arjani10

Hello!I have an problem may be someone can help me about it,I put in folder swf-s and i am protecting them with htaccess. I give access some websites,my problem is to block some urls who are geting iframe embed from website have access.Is possible to block swf players dont appeard …

Member Avatar for cereal
0
350
Member Avatar for davidjennings

Hi I am trying to redirect a url in the htaccess file. RewriteEngineOn RewriteRule ^wakins.co.uk$ http://www.watkins.co.uk [R=301,L] and I have also tried this RewriteEngineOn RewriteRule ^/wakins.co.uk$ http://www.watkins.co.uk [R=301,L] Thanks in advance D

Member Avatar for davidjennings
0
294
Member Avatar for TekknoDraykko

Greetings again! I'm learning how to write to and read from databases using JDBC, (using Netbeans) and I've run into a snag. I'm trying to save data to a database, but when I try the following exception message is thrown: Column 'COURSEID' is either not in any table in the …

Member Avatar for TekknoDraykko
0
365
Member Avatar for James_43

Hi there, I have a webpage in HTML, strong-links.org, and am tired of having to make changes to every single page when I update the header or footer, and someone suggested I can use PHP to reference the template within the HTML pages. As a test, I have test.strong-links.org/index2.html live …

Member Avatar for James_43
0
235
Member Avatar for Aeonix

When you need to create a login page using PHP and MySQL, the safety of this login page relies on - Your PHP scripting abilities - How well and securely has PHP been programmed in C++. - How well C++ compiler of interpreter of PHP has been programmed. - How …

Member Avatar for ryantroop
1
259
Member Avatar for anitg

I dont know whether this is the relevant forum but I dont know why I am getting the above mentioned error when I try to open website www.magicbricks.com from my laptop. I can open this on my office computer..! The error details are as below; HTTP Status 500 - error.security.userNotActive …

Member Avatar for diafol
0
332
Member Avatar for younes.keraressi

Hey, i dont know how this is called but i have ideas and if it possilbe that someone can help Help me about this: i have file index.php and 2 folders called: blue, red. in these 2 folders therse a pages that content the same backgroundcolor as the foloders name. …

Member Avatar for younes.keraressi
0
294
Member Avatar for usiyalla

Can any one send me the config setting for jdbc and mysql using apache server setting in netbean. i wanna use jsp with xampp and jdbc

Member Avatar for hemeneugene
0
821
Member Avatar for younes.keraressi

Hi, i got a problem in my websever, i am using lastest version of uniform server on microsoft windows 2008 r2 , but the problem is the httpd crash i searched for the solution some1 tells that i should use sfc/scannow , i did it same problem , and details …

Member Avatar for younes.keraressi
0
329
Member Avatar for collin_ola

Hi! So yesterday when trying to run a program that previously ran perfectly, I received the error shown in the title and I've no idea why. Nothing that could have caused such error was changed, so I've absolutely no idea what the problem could be. Here's the code the error …

Member Avatar for stultuske
0
2K
Member Avatar for collin_ola

Hey, I am trying to make use of the apache POI in my Java project in Eclipse. I previously tried using jxl but what I wanted to do didn't seem so simple with it. With jxl, all I had to do was import a jar. I don't seem to be …

Member Avatar for collin_ola
0
315

The End.