A syntax error occurs when a program does not follow the syntactical rules of the programming language.

learn more… | top users | synonyms

3
votes
0answers
102 views

#1305 - FUNCTION does not exist - nested loops

So, I'm getting an error about a function not being defined. It happens every time I try to use my counter variables to refer to specific entries in tables. I don't get it. To be more clear, I was ...
2
votes
0answers
984 views

cordova ios plugin add/remove error

Cordova -v 3.1.0-0.1.0 on OS X. When trying to add or remove a plugin, at some point (after one or two plugins) the command fails. cordova plugins rm org.apache.cordova.media { name: 'SyntaxError', ...
1
vote
0answers
59 views

Syntax error in PHP 5.4.28

The following line gives error in 5.4.28 (new MySocketServer())->run(); PHP Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR) but it works in PHP 5.4.4 Any ideas?
1
vote
0answers
12 views

Are we doing error codes wrong?

I have great luck using a combination of Google (and usually StackOverflow) to locate help with errors in software. But I'm wondering if there's a better way. How about tagging all errors with a ...
1
vote
0answers
42 views

openoffice base won't let me select more than 3 columns

So the following query works fine for me: SELECT DISTINCT StNo,HaulNo,CatCatchWgt FROM HL WHERE SpecCode='126436'; But, when I try to add another column to my selection, like so: SELECT DISTINCT ...
1
vote
0answers
43 views

mysql syntax-error on query

Heres a snapshot of my database: http://postimg.org/image/p3hj9pw3n/ I have this problem regarding this mysql query syntax : SELECT a.examid AS ei, a.examname AS en, ...
1
vote
0answers
45 views

Eclipse Juno and incorrect PHP 'use' statement error

I'm using Eclipse Juno with the latest versions of things (PDT and PHPEclipse for example) running (i.e. check for updates does not list any). Eclipse thinks I have a syntax error in the editor and ...
1
vote
0answers
44 views

How can I find out why JS isn't shown as executable in Firebug?

I'm trying to debug some JS code, and when it's viewed in firebug, it appears as "not compiled", that is, the line numbers are grey and not green. I've pasted the code in JSLint, and JSHint, and they ...
1
vote
0answers
174 views

Uncaught Syntax Error: Unexpected Token }

Yes, that's a chrome's console error that pops up on a click of a button. I think that these errors occur on the basis of the markup but then that's awkward because markup errors should directly come ...
1
vote
0answers
105 views

syntax error : missing ',' before '<'

error line 4 AND (line 53): see reference to class template instantiation 'ArrayStack' being compiled #ifndef ARRAYSTACK #define ARRAYSTACK template <typename T> class ArrayStack: public ...
1
vote
0answers
262 views

Issue with installing PyMedia for in Python 3.3

So I've been trying to install PyMedia for a bit now, and I've gone through many troubleshooting steps to get here. Where I'm at right now, I've gotten the binary for MinGW installed, and updated. ...
1
vote
0answers
91 views

Parallel function in not working

I have been using parallel but after a server update it stopped working. I added --GNU and also removed --tollef from /etc/parallel/config. It stopped printing the previous errors but now it prints ...
1
vote
0answers
200 views

jQuery Unexpected token ILLEGAL - line 1

I know this has been asked before, but I'm yet to see anyone with the problem on line 1. All of my JS files are getting this console error (in every browser). I'm loading jQuery from Google libraries ...
1
vote
0answers
336 views

PowerShell syntax error in SQL Agent Job calling psftp.exe

I apologize if cross-posting is verboten but I was getting no traction at ServerFault.com and thought I'd try here.Errors suggest this is a script syntax issue. I have a simple PowerShell script that ...
1
vote
0answers
93 views

debugging JavaScript runtime syntax errors

Short: I am looking for a way to get the text of the script that was evaluated and caused a syntax error from within the context of window.onerror. Long: The full scenario includes a phone gap ...
1
vote
0answers
145 views

Requirejs with nodejs doesn't tell me the line number of the error, just the error

Requirejs with nodejs doesn't tell me the line number of the error, just the error For example the result is: Error: Evaluating ccc.js as module "ccc" failed with error: SyntaxError: Unexpected token ...
1
vote
0answers
409 views

Lua: Concatenating table values into string

I want to put into a string randomly generated values using Lua. However, I keep getting an error. function main() times = 0 while times < 10 do ValueOne = ...
1
vote
0answers
173 views

GSL and gsl_linalg_cholesky_invert

I'm using the gsl library in a c code. Everything goes fine but when i use the command gsl_linalg_cholesky_invert the terminal shows the following message: Undefined symbols for architecture ...
1
vote
0answers
118 views

MySQL server version for the right syntax group by datetime

I have been trying to solve the issue to group by datetime for sometimes but I still can't resolve it. Please give some advice on what wrong with my syntax? Sytnax error message i get:- You have an ...
1
vote
0answers
767 views

Syntax error on token “TextView”, import expected

Syntax error on token "TextView", import expected. Syntax error on token "EditText", import expected. I am new to this. Why do I get these syntax error? import android.app.Activity; import ...
1
vote
0answers
161 views

Netbeans 7.2: disable the syntax error window?

Is there a way to disable the syntax error window (yellow pop-up) in 7.2? Searched for this everywhere, but didn't find a definitive answer. I don't think it is possible, but thought I'd ask. ...
1
vote
0answers
96 views

How to fix “Error in Feedburner Error on line 10: The element type ”META“ with closing Tag”"

Feed keeps appearing and disappearing, when the feed disappears it shows this message : "The URL you entered does not appear to be a valid feed. We encountered the following problem: Error on line 10: ...
1
vote
0answers
63 views

syntax error, unexpected $end in /pathToFile on line number 3170

The above error appears whenever I uploaded my files to server, but I locally I don't see any errors. I even replaced all the codes to upload the files again, but I am getting the same error. if( ...
1
vote
0answers
7k views

(Solved) SyntaxError: no viable alternative at input 'return' — jython

I've coded python for a long time, but just recently I've decided to mess around with jython a bit. I notice that jython does not re-implement urlparse.parse_qs so I implemented my own version, if ...
1
vote
0answers
3k views

nlme error “Invalid formula for groups” although random effect specified

I have done some searching for this, but the mailing list posts I have found are associated with the person not specifying a random effect in nlme whereas I have done this. I also own the book Mixed ...
1
vote
0answers
182 views

Error with ContentValues in Android (Eclipse IDE)

I'm trying to make a ContentValues in Android with the Eclipse IDE. This is my code: ContentValues cv = new ContentValues(); cv.put("name", "Cs Tech"); Eclipse returns this error in the second ...
1
vote
0answers
402 views

Browser syntax error on loading jquery.js file into hosting server

I'm developing a web app, and when loading jquery in my local server, it works fine. The problem comes while uploading everything to my hosting server. It just doesn´t loads correctly the jquery.js ...
1
vote
0answers
197 views

How to resolve WPF Visual Studio 2008 message “this member is defined more than once”

In a code behind file in a WPF project the variables representing controls defined in XAML (e.g. closeButton) display red squiggly lines underneath with a tooltip message indicating "this member is ...
0
votes
0answers
6 views

RSQLite | RS-DBI syntax error when recoding

I am using RSQLite and I need to recode a value based on several other column values. The variable min_lang will be 1 if any minority language is spoken. When I try to send the query, I get an error ...
0
votes
0answers
14 views

Actionscript 2 Unexpected ']' encountered

I've been getting the error Unexpected ']' encountered for the following line: null[] = (Error)() == null ? (null, throw , function () { try { ... What would I need to edit to fix ...
0
votes
0answers
23 views

Create an object and then setup init as a method with an assignment giving syntax error

I had a recent post about this, and I thought it was working but I'm getting a syntax error on my function. I had this code in my JS: function MyModule.init(url) { var myXHR = new XMLHttpRequest(), ...
0
votes
0answers
4 views

Syntax Error Missing Operator Access Report

Getting run-time error '3075': Syntax error (missing operator) in query expression 'Customer Number LIKE 'cv001" My program allows an individual to choose a search category from a combobox: Customer ...
0
votes
0answers
7 views

Data Validation, Input Message, Application Defined Error for .InputTitle line in property definitions

I am trying to insert a Data Validation Input Message into cells as my program progresses through a row of cells. The message is a string collected from controls in my code (not included below). I ...
0
votes
0answers
16 views

Visual Studios WindowsForms does not Show red lines for errors

I am working in visual studios on a windows forms project and I was wondering why visuals does not show me red underlined errors like it usually would in other projects. Instead it just shows that ...
0
votes
0answers
37 views

If and else if loop syntax or logic

$('.listing-img').each(function(){ $temp = $(this); image_url = $(this).attr('src'); $section_content = $('.main_wrapper').find('section'); ...
0
votes
0answers
10 views

Getting error undefined method save for Array

I want to create new user record through console, @user = User.create([{:name => "My name", :user_type => "nice_user"}]) when saving this @user.save, giving error undefined method save for Array
0
votes
0answers
25 views

php and mysql insert data error in contaflux

After I searched all over the net, I managed to fix some bugs from Contaflux an online accounting app. Managed to make the file to insert the data but it hangs with the message: Wait Please ...
0
votes
0answers
22 views

pulp installation testing didn't work

I have started following the instructions from http://www.coin-or.org/PuLP/main/installing_pulp_at_home.html#installation , I installed PuLP using "Windows Installation from source" When I type from ...
0
votes
0answers
25 views

PHP Server displays White page where there is a syntax error

I have PHP 5.5.12 installed on Windows Server 2008 R2. When I execute a script that has a syntax error "depending on the error" some times I get an error a some times I get a white page! I am not sure ...
0
votes
0answers
55 views

phpmyadmin: #1055 - 'information_schema.s.SCHEMA_NAME' isn't in GROUP BY

I am getting the following error in PHPMyAdmin when I attempt to do click "Databases" tab: #1055 - 'information_schema.s.SCHEMA_NAME' isn't in GROUP BY Please advise on what code in phpmyadmin ...
0
votes
0answers
47 views

RubyMine syntax error - new version of ruby 2.1.2

I have recently updated my ruby version. I had ruby 2.1.0p0 and now moved to ruby 2.1.2p95. The problem is that now almost all my files have syntax error showing in rubymine. This used to be fine: ...
0
votes
0answers
28 views

Syntax error with pip install

I am on an RHEL5 machine, and I installed pip by running the get-pip.py file as suggested on the pip website. Upon trying to install a couple different modules using pip, I ran into an error traceback ...
0
votes
0answers
11 views

How to write to Problems View?

I am building plug-in project eclipse, custom editor. And in case of bad input or syntax error i want to write in Problems view and show error marker in editor, how to do that, i need example or ...
0
votes
0answers
18 views

input file is output file error

I'm trying to run the command find . -name "*.csv" | xargs -I{} cat '{}' > Everything2.csv and I get back cat: ./Everything2.csv: input file is output file What does this mean?
0
votes
0answers
15 views

Syntax Error in Generated code

I am using GMF to create an editor. I followed through with the steps in the GMF dashboard but in the last step when I generate the diagram editor code i.e., the ProjectName.diagram package, a syntax ...
0
votes
0answers
26 views

Notice: Undefined variable: sj_oca

I am facing a problem in joomla 3.3 using jreviews component. I am receiving the follow error message: Notice: Undefined variable:sj_oca in ..../components/com_content/views/article/tmpl/default.php ...
0
votes
0answers
36 views

Use param attributes in version CarrierWave upload for Ruby

I am new in Ruby and I am trying to pass a parameter in a method of CarrierWave called version. My idea is get the opacity paramater value, but I don't know how to write the code for don't get some ...
0
votes
0answers
29 views

plsql identifier must be declared

CREATE OR REPLACE PROCEDURE add_job_history ( p_emp_id job_history.employee_id%TYPE ,p_start_date job_history.start_date%type ,p_end_date job_history.end_date%type ...
0
votes
0answers
19 views

py2app invalid syntax error when building application on mac os

I am trying to use py2app with a small gui program I have made, however I have created the setup.py file with what I believe contains the correct commands, however I am getting a Invalid Syntax error ...
0
votes
0answers
24 views

Couldnt solve a hspice syntax error

I'm new to hspice and this is a very basic question. .dc vin VDD VDD 1 .print v(out) par('abs(i(vVDD)*VDD)') v(d2) .measure dc avg_leak_low=par('abs(i(vVDD)*VDD)') TRIG v(in) VAL= VDD TD=slew ...