Parse error: syntax error, unexpected...

Started by soheil, 2011 August 21, 04:32:46 am

previous topic - next topic

0 Members and 1 Guest are viewing this topic.

soheil

*
2011 August 21, 04:32:46 am
Hi there.  I'm new to Potramx. I eangted to load google ads in a right site bock and I added a php block and paste the google adsense code using ' at the beginning and '; at the end. I Copied the code to the second php block, save and continue, after that I get an erroe message "Parse error: syntax error, unexpected '<' in /home/ctradelt/public_html/handbrake/Sources/PortaMx/Class/php.php(33) : eval()'d code on line 2". Unfortunately the admin section doesn't work to correct it and says "An Error Has Occurred! Unable to load the 'main' template".
This is the address of my website http://handbrake.ctradeltd.com
Please take a look at it and say the result.

Feline

*
#1
2011 August 21, 02:10:04 pm
In a php block you have to use echo 'what you will see'; ...
Many are stubborn in relation to the way, but less in relation to the target.

* Shouts

Feline
2018 Aug. 21, 08:10:46 pm
Today we update our Forum to the Version 1.45
Feline
2018 Jun. 09, 07:54:13 pm
Today we update our Forum to Version 1.4
This release is full compatible with the EU GDPR
Feline
2018 Mar. 28, 11:56:21 am
Update for PortaMx 1.54 ecl released.
With this updates the Portal works with PHP 7.x and SMF 2.0.15
Feline
2018 Mar. 17, 10:35:03 pm
PortaMx Forum 1.3
released !

*
Feline
2017 Dec. 10, 04:30:54 am
Today we switched to PHP 7.2 and activate Opcode caching.
Fast .. Very fast *
Feline
2017 Mar. 03, 11:54:35 pm
Today we upgrade our old SMF 2.0 Forum to PortaMx Forum *

* Calendar

Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
HolidaysDec 16: 3. Advent (de)