Dashcode CurrencyConverter App - ios-simulator

I was working on CurrencyConverterApp in Dashcode by following this url. http://mobiforge.com/developing/story/build-web-apps-iphone-using-dashcode. But in code i am geting an error
[Session started at 2010-09-08 14:55:29 +0530]
mobile/main.js line 146: SyntaxError: Parse error
mobile/index.html line 14: Can't find variable: load
[Session ended at 2010-09-08 14:55:37 +0530].
Please help me in this code to complete my App.

Most possible you have an error in the script file (main.js). Double check your code if you have closed a { or } or something else. You can also use this online tool to help you out: http://www.jslint.com/

Related

Can't start the realm object server on mac os

I'm trying to start the realm object server on mac os.
I've download 'macOS Bundle' from here: https://realm.io/docs/realm-object-server/#macos
and run 'start-object-server.command' file.
But it's not working.
I get this error.
libc++abi.dylib: terminating with uncaught exception of type realm::RealmFileException: Invalid argument
./start-object-server.command: line 97: 2471 Abort trap: 6 node "$package/node_modules/.bin/realm-object-server" -c configuration.yml
I have no idea what is wrong.
Please help me.

Drupal 7.34 install error Call to undefined function field_read_fields()

I keep getting this error when trying to do a fresh install of 7.34 in a sub directory.
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://tristarprotector.com/drupalbeta/install.php?profile=standard&locale=en&id=1&op=do StatusText: OK ResponseText: Fatal error: Call to undefined function field_read_fields() in /home/content/32/10158732/html/drupalbeta/modules/field/modules/field_sql_storage/field_sql_storage.install on line 16
Any idea what is causing this or how to fix it?
I had this problem too.
Fixed it by rebooting the server in the end (just a vbox), apache restart didn't fix it.

Fatal error when copying wordpress site from server to localhost

I've been trying to create a local copy of this wordpress site - click4taps.co.uk. But even though everything seems to run pretty much fine on the server, on localhost I am getting these code errors, I would have maybe expected a database error if I had forgot something in the setup. I'm not super good at php but I can't see anything that out of place in the code the error specifies.
Here is the error message I receive when trying to launch the site in localhost:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'woocommerce_layered_nav_init' not found or invalid function name in C:\Program Files (x86)\Ampps\www\click4taps\wp-includes\plugin.php on line 406
Fatal error: Call to undefined function is_product() in C:\Program Files (x86)\Ampps\www\click4taps\wp-content\themes\bazar\theme\plugins\woocommerce-ajax-layered-nav\init.php on line 59
Any feedback on this would be very helpful thanks
Activate your woocommerce plugin

Prod logs in symfony 2 not using root dir

I'm developping a symfony2 website. I'm using apache2.2.
Everything works fine in dev environment.
But when i want to try it on the prod environment, it goes :
Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream or
file "/var/www/domain/app/logs/prod.log" could not be opened:
fopen(/var/www/domain/app/logs/prod.log) [function.fopen]: failed to open stream: No
such file or directory' in /var/www/myapp/app/cache/prod/classes.php on line 4799
Why is it trying to write in /var/www/domain since my application is in /var/www/myapp ?
I tried to modify the config_prod.yml to no result.
Any idea ?
Thanks
#Boris Guéry it was a cache problem, you were right, but i couldn't use de command line to clear it. I had to use rm -rf in the shell.
Thanks

Qt debug error when running .exe

I have written a game in c++ Qt, and I got a debug error message, when running the exe file. The error message appears only on one PC. It appears, when I try to display any text (QLabel, QGraphicsTextItem, anything). On other PC-s there is no error message.
The message is: Microsoft Visual C++ Debug Library
Debug Error!
Program D:\gardener\Gardener.exe
Module: 5.0.2
File: global\qglobal.cpp
Line: 1977
ASSERT:"uint(i) < uint(size())" in file q:\qt5_workdir\w\s\qtbase\include\qtcore../../src/corelib/tools/qstring.h, line 729
Details:
Problem Event Name: APPCRASH
Application Name: Gardener.exe
Application Version: 0.0.0.0
Application Timestamp: 51d6cba1
Fault Module Name: Qt5Cored.dll
Fault Module Version: 5.0.2.0
Fault Module Timestamp: 516366c9
Exception Code: 80000003
Exception Offset: 0005f1d1
OS Version: 6.2.9200.2.0.0.256.49
Locale ID: 1038
Additional Information 1:5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: f3d5
Additional Information 4: f3d5be0cad2787556264647dc02181c3
I tried to google it, but no success. Does someone have any idea what the problem could be? Thanks!
This assertion can be triggered when accessing a non-existent element in a QString. But without seeing your code and the line where this happens, I can't tell for sure whether that's your problem.

Resources