Browsing this Thread:   1 Anonymous Users






Re: Parse Errors - Modify PHP
#4
Webmaster
Webmaster


See User information
Doug,

The only error I see on that page is the one I mentioned before. That was the only extra {

If you made other changes, change them back the way it was.
Do you still have this problem?

John

Posted on: 2010/5/22 5:50
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Parse Errors - Modify PHP
#3
Just popping in
Just popping in


See User information
HI Jim,

Didn't see an issue with Line 258 .....

However, I did fix the line 256 and now I have the following errror:

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' /modules/classifieds/modify.php on line 79

I am using Xoops 2.4.4. version ...
When I get these errors .. it's when I go to the ad ... and click either of the small icons ... To "Edit" or "Delete" ..
Then I get these errors ...

Thanks
Doug

Posted on: 2010/5/17 14:41
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Parse Errors - Modify PHP
#2
Webmaster
Webmaster


See User information
It looks like line 258 has the extra {. Try removing that.

if ($premium == "0") { {

change to

if ($premium == "0") {

Let me know what happens, give me the whole error message.

Thanks,

John

Posted on: 2010/5/17 5:40
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Parse Errors - Modify PHP
#1
Just popping in
Just popping in


See User information
Classifieds 2.4 seems to work great when placing an ad - uploading an image to the ad - displaying - etc.......

My issue I am having is when I want to "edit" or "delete" the ad. Each time it's a parse error on several line items refering to the modify.php script ...

Here is one example when editing:

Parse error: syntax error, unexpected T_ELSE in /home/nebcnorg/domains/nebcn.org/public_html/portal/modules/classifieds/modify.php on line 265


I went to line 265 and noticed an extra "{" ... removed it and then gave me another parse error ..

One error stated it had ";" syntax error on the line .. Took a look and couldn't find anything ..

YUP! Still a newbie at this .. But do have fun streaching the "Ole Brain" sometimes .. 2AM in the morning I was out of streach ..

Posted on: 2010/5/16 9:23
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]


Login
Username:

Password:

Remember me



Lost Password?

Register now!
 
Main Menu
 
Who's Online
4 user(s) are online (3 user(s) are browsing Forum)

Members: 0
Guests: 4

more...
 
Donat-O-Meter
Make donations with PayPal!
Stats
Goal: $25.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $25.00