wamp

Primary key column(s) (id) are not columns in this table ()

南楼画角 提交于 2019-12-01 22:08:58
I am following the: http://framework.zend.com/manual/en/learning.quickstart.create-model.html . Keep hitting wall after wall of issues. My current one is the following error: An error occurred Application error Exception information: Message: Primary key column(s) (id) are not columns in this table () Stack trace: #0 C:\wamp\www\zendtest\quickstart\library\Zend\Db\Table\Abstract.php(982): Zend_Db_Table_Abstract->_setupPrimaryKey() #1 C:\wamp\www\zendtest\quickstart\library\Zend\Db\Table\Select.php(100): Zend_Db_Table_Abstract->info() #2 C:\wamp\www\zendtest\quickstart\library\Zend\Db\Table

Reading Messages on Poloniex Trollbox with Python autbahn or other socket module?

我是研究僧i 提交于 2019-12-01 21:27:52
Poloniex doesn't return every message to my socket. I read the messages with the following code and sometimes I get continuous message numbers, but sometimes there are like 10 messages missing: from autobahn.asyncio.wamp import ApplicationSession from autobahn.asyncio.wamp import ApplicationRunner from asyncio import coroutine class PoloniexComponent(ApplicationSession): def onConnect(self): self.join(self.config.realm) @coroutine def onJoin(self, details): def onTrollbox(*args): print("type: ", args[0]) print("message_number: ", args[1]) print("user_name: ", args[2]) print("message: ", args[3

WAMP Stack PHP “Fatal error: Class 'SoapClient' not found”

纵然是瞬间 提交于 2019-12-01 18:01:48
I have a WAMP (windows (7), apache, mysql, php) stack all setup and running. All is well and it is working and running as expected. I use the machine primarily for development however it is accessible to the outside world. Anyways.. I recently come cross a client with a pre-existing SaaS product where cURL, SOAP, and the like are used. I drop there system onto my server and a bit of jumping around to set it up, get it setup, start plugging away at things to only come across a section where I am getting Fatal error: Class 'SoapClient' not found Naturally my first jump was i forgot to uncomment

Call to undefined function pg_connect() - Wamp

江枫思渺然 提交于 2019-12-01 16:53:33
I want to connect to PostgreSQL, Im using wamp 64 bit. I have here Apache 2.4.2 PHP 5.4.3 Mysql 5.5.24 I also uncomment in php.ini the php_pgsql and php_pdo_pgsql. but i can't connect , It gives me error like this : Error suppression ignored for ( ! ) Fatal error: Call to undefined function pg_connect() Is there anybody know the solution regarding on my problem. I just need it badly. Thank you . darhamid Open php.ini Find ;extension=php_pgsql.dll and remove the semicolon at the beginning Find ;extension=php_pdo_pgsql.dll and remove the semicolon at the beginning Save the file Restart apache

php composer.phar update does not work with Symfony install

别说谁变了你拦得住时间么 提交于 2019-12-01 15:50:36
I'm running WAMP on Windows 7 64 Bits. The PATH variable is set to c:\wamp\bin\php\php5.3.13\ I'm trying to install Symfony and I do not understand why first line runs and not the second: This runs successfully: php c:\wamp\bin\php\php5.3.13\composer.phar update This line fails: php composer.phar update With the error: "Could not open input file: composer.phar" What can explain this? get_include_path returns : ` .;C:\wamp\bin\php\php5.3.13\php\PEAR`. Does this mean that if composer.phar is not in PEAR directory 'php composer.phar update' will not work? You should try this instead: composer

Laravel 4 - no guessers available issue

核能气质少年 提交于 2019-12-01 15:50:18
I get this error: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) while trying to upload an image. I have enabled the php_fileinfo extension and also restarted the Wamp web server but I still unable to solve this. What am I missing? Thanks Below are my codes: Models: Product.php class Product extends Eloquent { protected $fillable = array('category_id', 'title', 'description', 'price', 'availability', 'image'); public static $rules = array( 'category_id'=>'required|integer', 'title'=>'required|min:2', 'description'=>

php composer.phar update does not work with Symfony install

戏子无情 提交于 2019-12-01 14:58:57
问题 I'm running WAMP on Windows 7 64 Bits. The PATH variable is set to c:\wamp\bin\php\php5.3.13\ I'm trying to install Symfony and I do not understand why first line runs and not the second: This runs successfully: php c:\wamp\bin\php\php5.3.13\composer.phar update This line fails: php composer.phar update With the error: "Could not open input file: composer.phar" What can explain this? get_include_path returns : ` .;C:\wamp\bin\php\php5.3.13\php\PEAR`. Does this mean that if composer.phar is

How to set php.ini location?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-01 14:50:25
I just installed PHP, Apache and MySQL, did some changes to the configuration files and it works but phpinfo() says it looks for php.ini in C:\Windows. How to make it look somewhere else? Should I configure this in Apache? I put: SetEnv PHPRC "C:/wamp/php5.6.5" in http.conf, restared Apache but it didn't help. I know that programs like WampServer use phpForApache.ini instead of php.ini but I don't know how they do this. castis Taken word for word from the docs... As of PHP 5.2.0, the location of the php.ini file can be set for different versions of PHP. The following registry keys are examined

How can I get Assetic to compile SCSS on Zend Framework on Windows?

风流意气都作罢 提交于 2019-12-01 14:20:16
My site is on Zend Framework and uses Assetic to compile SCSS and minify it. It works wonderfully when I'm developing on Ubuntu. Sometimes I need to develop on Windows (WAMP) instead of Ubuntu. I haven't been able to get Assetic to work on Windows. I've found many Q&As about it but no answers seem to apply to me. E.g. I don't think I have a config.yml file anywhere. How to have Assetic + sass work with Symfony2 in Windows? How to use SCSS filter in Symfony2 under Windows? Here is an error: Assetic\Exception\FilterException: An error occurred while running: "C:\Ruby193\bin\sass.bat" "--load

How to set php.ini location?

偶尔善良 提交于 2019-12-01 13:29:11
问题 I just installed PHP, Apache and MySQL, did some changes to the configuration files and it works but phpinfo() says it looks for php.ini in C:\Windows. How to make it look somewhere else? Should I configure this in Apache? I put: SetEnv PHPRC "C:/wamp/php5.6.5" in http.conf, restared Apache but it didn't help. I know that programs like WampServer use phpForApache.ini instead of php.ini but I don't know how they do this. 回答1: Taken word for word from the docs... As of PHP 5.2.0, the location