Posts by user3677610 • 135 points
12 posts
-
1
votes2
answers327
viewsQ: syntax criteria using Yii framework
I’m having a hard time making a where using criteria, I am posting the code I am making and below the error.. Codigo Criteria $criteria->compare('id',$this->id);…
-
0
votes1
answer361
viewsQ: Configure button in Bootstrap
I’m new to Yii and I’m wearing Bootstrap. I set it right but it is strange in the execution of the page, for example I inserted a button, it is inserted normally only in the form of simple link.…
-
3
votes1
answer11490
viewsQ: Access Denied phpMyadmin error 2002
I’m needing to use phpmyadmin in the xampp, but this returning me this error #2002 - File or directory not found The server is not responding (or the socket of the local server is not configured…
-
0
votes1
answer1367
viewsQ: How to create mysql.socket file
I’m using the phpmyadmin because, it is returning me an error that refers to the missing file mysql.sock, there is a possibility to install this file? Error reported below: error 2002 : file not…
-
0
votes2
answers1879
viewsQ: activating the phpmyadmin
I am running XAMPP, however my phpmyadmin is disabled I have done everything to activate, there is some other option, follow below the error. #2002 - File or directory not found Server not…
-
0
votes1
answer538
viewsQ: Problem with xampp server
I have a problem in the xampp server, this installed on a linux, where when I start via terminal appears the following message below. Tail: could not open "/opt/lampp/logs/error.log" for reading:…
-
0
votes1
answer100
viewsQ: Am I trying to connect mysql in php?
Good afternoon I’m trying to connect mysql to php, because it’s generating the following error " Call to Undefined Function mysql_conect()", someone please help me
-
1
votes2
answers1101
viewsA: How to create upload files without using "input file"?
I managed to solve staff follows below the solution <?php $numtotal=5; $erro; for($i=0;$i<$numtotal;$i++){ $arquivo=$_POST['arquivo'][$i]; $format=str_replace(".txt","",$arquivo);…
-
-1
votes2
answers1101
viewsQ: How to create upload files without using "input file"?
How do I upload files without including input file, that is, only using textField in HTML? I managed to solve staff follows below the solution <?php $numtotal=5; $erro;…
-
-4
votes3
answers1097
viewsQ: Automatic file upload
I need to make sure that when updating the page, my element <input type="file"> already come loaded with the files that will be saved in the database, remembering that the files will have the…
phpasked user3677610 135 -
1
votes2
answers739
viewsQ: How do I give the user permission to access a page in the Yii framework?
I came across the following error, where in the same says that the user is not allowed to access the page: Error 403 You are not allowed to access this page. Please, someone can help me?…
-
2
votes0
answers445
viewsQ: Reset connection
Below is the code of my main class <?php // uncomment the following to define a path alias // Yii::setPathOfAlias('local','path/to/local-folder'); // This is the main Web application…