8,966 Posted Topics

Member Avatar for pritaeas

At 11:05 DW got sluggish, then went down. Thought it was up by 11:16, but went down once more. At 11:23 it appears working again. Times in GMT+2. It felt like one server was working, the other was not (like last time). Chat is still sluggish btw.

Member Avatar for Ancient Dragon
0
346
Member Avatar for fheppell

Either the above, or change your query to return the items in the order you want.

Member Avatar for pritaeas
0
127
Member Avatar for facarroll
Member Avatar for facarroll
0
499
Member Avatar for IIM

> Also there is no option to delete OAuth Correct. Don't worry about multiple keys for now.

Member Avatar for IIM
0
201
Member Avatar for SERPWarrior
Member Avatar for vishal_WebDev
Member Avatar for NardCake

> <img src="//example.com/res.jug?res=img.example"> This means you can't have both `example.png` and `example.jpg` ?

Member Avatar for NardCake
0
245
Member Avatar for jessicarobort
Member Avatar for pritaeas
0
78
Member Avatar for bavenbabu

I found [this thread](http://ask.cakephp.org/questions/view/database_connection_mysql_is_missing). Do you have PDO enabled? I don't think WAMP has it enabled by default.

Member Avatar for kevinpatel
0
2K
Member Avatar for kevinyu

Maybe this can help: http://bakery.cakephp.org/articles/webtechnick/2009/02/10/file-upload-component-w-automagic-model-optional

Member Avatar for kevinpatel
0
241
Member Avatar for AndrisP

You can if you use something like this: var q = "3"; var re = new RegExp("/^(\-)?\d+( (\-)?\d+){" + q + "}$"); if (re.test(str)) //...

Member Avatar for AndrisP
0
184
Member Avatar for asaidi
Member Avatar for saadi06
Member Avatar for gerhardjl
Member Avatar for dyea.marcello

The only fetch is on line 67, so I'm guessing it's that one. It's strange though that the error says "null given".

Member Avatar for dyea.marcello
0
150
Member Avatar for mmcdonald

You are running this on XAMPP and WAMP on the same machine? Do they share the same MYSQL? If not, check your config, specifically the port.

Member Avatar for Atli
0
892
Member Avatar for Sandra_1

class myClass { const CURRENTDIR = __DIR__; private $my_xml_file = CURRENTDIR . 'data/my.xml'; } `$currentDir` does not exist in that scope. `$this->currentDir` is not available either and `self::$currentDir` only works if it's defined as static (I think). So use a constant, or use minitauros' solution using the constructor. Note that …

Member Avatar for diafol
0
130
Member Avatar for Ancient Dragon

Started a thread at the same time ;) I was on earlier today, but can't get to it now.

Member Avatar for Ancient Dragon
0
88
Member Avatar for yaragalla_mural
Member Avatar for kenleycapps

> It may be worth noting that the PHP functions used are not supported in PHP 5. Did you even notice the OP is 9 years old?

Member Avatar for pritaeas
0
455
Member Avatar for logicslab

Check your error logs, turn on error reporting if needed. Check if all required modules are enabled.

Member Avatar for logicslab
0
363
Member Avatar for killer88
Member Avatar for kosar latif
Member Avatar for pritaeas
0
8K
Member Avatar for Priti_P
Member Avatar for Priti_P
0
120
Member Avatar for php_php

`SESSION['answer']` may not have a value set yet. I suggest you do something like this: session_start(); if (isset($_POST['answer'])) $_SESSION['answer'] = $_POST['answer']; if (!isset($_SESSION['answer'])) $_SESSION['answer'] = 'no';

Member Avatar for pritaeas
0
194
Member Avatar for dannybarh

`http://www.fleethabari.com/` is not a host, but an URL. If you think it's correct, try `www.fleethabari.com`, but are you sure you shouldn't be using `localhost` ?

Member Avatar for pritaeas
0
677
Member Avatar for Barry_1
Member Avatar for shasta90

> What option for cURL needs to be changed in order to retrieve the XML content None, the code you had working in the previous thread should work fine for xml too. It should work without the HTTPHEADER. Just change line 19 to: echo $file_contents_curl; and enable line 18.

Member Avatar for shasta90
0
410
Member Avatar for theashman88

Backticks, as JorgeM said, not single or double quotes. alter table GelderlandDist change inauguration `inauguration date` DATE You need to specify the type as well. From [the manual](http://dev.mysql.com/doc/refman/5.7/en/alter-table.html): *"You can rename a column using a CHANGE old_col_name new_col_name column_definition clause. To do so, specify the old and new column names …

Member Avatar for JorgeM
0
194
Member Avatar for wasik
Member Avatar for Violet_82

Why not include them both? I've never had issues with this on earlier IE versions? <link rel="stylesheet" href="normal.css" type="text/css" media="screen" /> <link rel="stylesheet" href="print.css" type="text/css" media="print" />

Member Avatar for Violet_82
0
262
Member Avatar for PerplexedB

> gives me a fatal error but the try catch is not triggered. Where does it say that it triggers an exception? `createFromFormat` just returns `false` on error. Since you just call a method on it without checking, it's just an error. PHP exceptions aren't embedded in all language features, …

Member Avatar for PerplexedB
0
133
Member Avatar for shrikanthnk
Member Avatar for diafol
0
585
Member Avatar for webbob

> I need a login form what will use a preloaded database field for authentication. What do you mean by that?

Member Avatar for webbob
0
112
Member Avatar for giovannitao_1
Member Avatar for pwolf

@phorce. Probably because the original amazon links included ref query parameters. In addition "The Art of ..." is high-level stuff. Since you want to read these books, the real question is: what is your direct goal? Is it just knowledge, or do you want to apply this in your coding? …

Member Avatar for john alternate
0
377
Member Avatar for balletshana

> The shop is trying to tell me that everything is gone on the computer, it is completely wiped out. I sincerely doubt that. My suggestion would be to let them install a new small HD, and take yours out, so you can plug it back in as a second …

Member Avatar for JorgeM
0
219
Member Avatar for fajardojohnpaul
Member Avatar for rubberman
0
67
Member Avatar for HunainHafeez
Member Avatar for praba_web
Member Avatar for mmcdonald

> Push notifications... care to elaborate? :) Or long-polling. Basically returns with changes, or have the AJAX call timeout, following by the next call.

Member Avatar for mmcdonald
0
216
Member Avatar for Fiorentino01^

> My phpMyAdmin version is 3.5 something, how do I remove it phpMyAdmin is just a folder in your web-root. You can just delete that folder and install a new one. You must have Apache (or IIS) otherwise phpMyAdmin couldn't have worked.

Member Avatar for Fiorentino01^
0
528
Member Avatar for MartyWooly
Member Avatar for theashman88

For step 2 an example of repeating data is "Tokyo" or "System Design". Highlight ALL you think apply.

Member Avatar for 1stDAN
0
203
Member Avatar for phorce

Closed. Duplicate [here](http://www.daniweb.com/community-center/daniweb-community-feedback/threads/463445/downtime).

Member Avatar for pritaeas
0
102
Member Avatar for fernandofranca

My freepascal isn't that good. The error message is described [here](http://www.freepascal.org/docs-html/user/userse62.html) and basically states that the method definition should include `class`. I'll try later to reproduce this. On what line does it show this message (line number above)?

Member Avatar for fernandofranca
0
777
Member Avatar for alpdoruk
Member Avatar for fhau013

There's an error in your query. Post your code, the offending query is not visible in the image.

Member Avatar for fhau013
0
189
Member Avatar for mmcdonald
Member Avatar for gmmorpheus

The End.