I get database from server linux debian i have there :
> /mnt/var/lib/mysql/directorybase, i found the files.frm and in
> /mnt/var/lib/mysql file ibdata1
so i copy the directorybase in
> C:\wamp\bin\mys ql\mysql5.6.17\ data
my local machine wampserver but i get this error in phpmyadmin #1146 - Table 'cccc' doesn't exist
User Profile
Collapse
-
#1146 - Table 'cccc' doesn't exist
-
How i assigned to key of table other table and return that
Hi,
I have this script :
when i var_dumped...Code:$processsyntheseinfos=array(); foreach($annuaireId as $annuaireId_index=>$annuaireIdvalue){ $processsyntheseinfos[]=$imprimTools->getProcessSyntheseInfos ($annuaireIdvalue); }//END foreach the tab annuaire echo ' process Synthese' . var_dump ($processsyntheseinfos); die(); -
so i get the data dynamically sometimes date sometimes contains 2000 or others but always i get this error -
Doctrine2Fatal error: Call to a member function format() on a non-object
I have the Fields the Type DATETIME and Other DATE but when i INSERT NULL I have This Error : on controller i set that :Code:$data ['dateCreation'] = $tab['dateCrea'];
in Entity I do ThatCode:$tab['dateCrea'] somtimes NULL other Times 123614 or 21/12/2014 21:05:00 or others time
...Code:public function setModificationdate($modificationdate) { $this->modificationdate = new \DateTime($modificationdate); -
ServiceManager::get was unable to fetch or create an instance
I have project in zend framework 2 and Doctrine 2 and i generated the Entity for the two data base and copy in one Entity of My Project
when i want to generate the entity doctrine and zend 2 from two data bases i get this errors:config/autoload/local.php : i have this Error:
Zend\ServiceMan ager\ServiceMan ager::get was unable to fetch or create an instance for doctrine.entity manager.orm_alt ernative on line 122:
... -
SQLSTATE[HY000]: General error: 1267 Illegal mix of collations
when i run this Script :i have this Error :Code:$query = $entityManager->createQuery('SELECT u FROM \Synchro\Entity\Groupcompany u WHERE u.namegroup=:namegroup'); $query->setParameters(array( 'namegroup' =>$nameGroup ));
An exception occurred while executing 'SELECT g0_.idGroup AS idGroup_0, g0_.nameGroup AS nameGroup_1 FROM groupcompany g0_ WHERE g0_.nameGroup = ?' with params... -
SQLSTATE[42000]: Syntax error or access violation
Hello,
I do this Script the Doctrine on zend Framework 2
...Code:$qb = $entityManager->createQueryBuilder (); $qb->select ( 'g' )->from ( 'Synchro\Entity\Group', 'g' )->where ( 'g.namegroup = :namegroup' )->setParameter ('namegroup', $nameGroup ); $query = $qb->getQuery (); try { $checkgroup = $query->getResult(); if(!empty($checkgroup)){ -
i don't know i doiCode:$var=str_replace(chr(13).chr(10).chr(9), ' ', $chaine);
i have the same of my screen shot nothing changeCode:var_dump($var);
Leave a comment:
-
i var_dumped the output and copy to notpad++ and see nothing change i have the same of the stringLeave a comment:
-
yes i used just the str_replaceand alsoCode:echo str_replace(chr(13).chr(10).chr(9), ' ', $chaine);
but not worked for me thanks in advanceCode:echo str_replace("\r\n\t", ' ', $chaine);Leave a comment:
-
i used thatfor this string http://i.stack.imgur.com/UasBL.pngCode:preg_replace('/(^.+)(\r\n\t)/ime', "str_replace('$2', ' ', '$0')", $text)
but not worked for me .thanks in advanceLeave a comment:
-
How can i replace CRLF and Tabulation with space
so i have this string;
"ContenuCRL F
text1
text2 "
and i want the first CRLF and tabulation replace by space i want use experssion reguler but i don't know
Thanks in advance -
How can i add chaine caractere in chaine string
Hi,
I have this StringCode:" Format test Conetnu test paper test "
i need to add this characterbetween Contenu and PaperCode:'Assemblage '
Thanks in advance -
How can i found the chaine of charactère
hi,
I have this string "Format 34 TExt Assemlag"
how can i know this string if contains Assemlag or NO
Thanks in advance -
Function str_replace
Hi,
I have issue with this script :
chr(13) and chr(10).chr(9): there code ASCII for that CR LF ------->
it's not replace this by NULLCode:str_replace(chr(13).chr(10).chr(9),"",$object);
how can i do that please
Thanks in advance -
-
Call macro VBA on script PHP
I have macro VBA for example:
Project(MODELE_ H_FR)
contains Modules AvecPP on that i have this function
i need to call this Macro VBA on my Script PHPCode:Sub TraitementText() script ... End Sub
Thanks in advance -
How i filter the balise start with Fmt%
Hi,
How can i get all the data of the balise XML contains <FmtKK>
or<FmtSS>
i do thatbut not work for meCode:$bject->Fmt%->data
Thanks in advance -
Thanks for your answer,but i need help about the scenarios if in the boucle while of the test the scenarios thanks in advanceLeave a comment:
-
How can i test all scenarios of firstname and lastname
I have this function i must test all scenarios of the firstname :so here my function :Code:1-first scenarios if the firstname is empty . 2-second scenarios if the firstname contains one character. 3-third scenrarios if the firstname have two character. 4-four scenarios if the firstname have Three character. 5-other scenarios ...
...Code:<?php $loginuser = $thirdpartycode .'_'. substr($firstname, 0,
No activity results to display
Show More
Leave a comment: