Parse error: syntax error, unexpected...

Started by soheil, 7 years ago

previous topic - next topic

0 Members and 1 Guest are viewing this topic.

soheil

*
7 years ago
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
7 years ago
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
7 months ago
Today we update our Forum to the Version 1.45
Feline
10 months ago
Today we update our Forum to Version 1.4
This release is full compatible with the EU GDPR
Feline
a year ago
Update for PortaMx 1.54 ecl released.
With this updates the Portal works with PHP 7.x and SMF 2.0.15
Feline
a year ago
PortaMx Forum 1.3
released !

*
Feline
a year ago
Today we switched to PHP 7.2 and activate Opcode caching.
Fast .. Very fast *
Feline
2 years ago
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