Welcome Guest ( Log In | Register )

 Forum Rules Extensions Support
 
Reply to this topicStart new topic
> Post By Email Php Error On New Install, Parse error: syntax error, unexpected T_OBJECT_OPERATOR
jayw
post Apr 6 2014, 08:37 AM
Post #1


Newbie
*

Group: Members
Posts: 17
Joined: 6-April 14
Member No.: 1,995



Just purchased PBM Pro 1.9.5 using "Paypal: Transaction ID: 5NP69692LU701522R "

It's getting a php error when I try to create a "New+" import.

CODE
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/wakulla/public_html/wakulla-dev/administrator/components/com_post_by_email/views/pbmitem/view.html.php on line 125



I have a new Joomla 3.2.3 installation.

QUOTE
System Information
Setting Value

PHP Built On Linux host.wakulla.net 2.6.18-028stab101.1 #1 SMP Tue Nov 26 20:18:08 MSK 2013 i686
Database Version 5.1.73-cll
Database Collation utf8_general_ci
PHP Version 5.3.26
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.2.3 Stable [ Ember ] 6-March-2014 14:30 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36



This post has been edited by jayw: Apr 6 2014, 08:51 AM
Go to the top of the page
 
+Quote Post
jayw
post Apr 6 2014, 09:06 AM
Post #2


Newbie
*

Group: Members
Posts: 17
Joined: 6-April 14
Member No.: 1,995



Not sure what else it will break but I commented out line 125: /administrator/components/com_post_by_email/views/pbmitem/view.html.php

and it loads the "New+" form.

-jay
Go to the top of the page
 
+Quote Post
jayw
post Apr 6 2014, 10:03 AM
Post #3


Newbie
*

Group: Members
Posts: 17
Joined: 6-April 14
Member No.: 1,995



Not sure if commenting out line 125 is causing other problems but I'm getting a timeout on accessing a google apps account.

PBM Error message:
QUOTE
Error
[ssl://pop.gmail.com:995]: Unable to establish link to the POP3 server. POP3 connect: Error [110] [Connection timed out]


Configuration is:

QUOTE
E-mail Settings
Mail Server:ssl://pop.gmail.com
Port:995
Login username: announcements@wakulla.com
Password: *****
Delete processed e-mails: No
Parser:None






Go to the top of the page
 
+Quote Post
Web Design Seo
post Apr 6 2014, 04:15 PM
Post #4


Web Design Seo
****

Group: Root Admin
Posts: 4,332
Joined: 29-April 09
From: Sofia
Member No.: 1



"unexpected T_OBJECT_OPERATOR" error will be checked from our programmers tomorrow. For now read this:

Google Apps configuration:
Цитат
If you use Gmail and Google Apps, you may need to unlock your account: If you're a Google Apps user, enter www.google.com/a/your_domain.com/UnlockCaptcha to clear the CAPTCHA. Replace "your_domain.com" with your domain name. If your Google Apps account has been changed, you can clear your CAPTCHA with this link.


Or try the link: https://www.google.com/accounts/UnlockCaptcha

Read more: Post by email documentation.


--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post
jayw
post Apr 6 2014, 08:02 PM
Post #5


Newbie
*

Group: Members
Posts: 17
Joined: 6-April 14
Member No.: 1,995



I've already spent hours on the links you provided. I have the captcha unlocked but it's still not working.

Are your links to documentation that I've already read and tried your solutions?

-jay


QUOTE (Web Design Seo @ Apr 6 2014, 12:15 PM) *
"unexpected T_OBJECT_OPERATOR" error will be checked from our programmers tomorrow. For now read this:

Google Apps configuration:


Or try the link: https://www.google.com/accounts/UnlockCaptcha

Read more: Post by email documentation.

Go to the top of the page
 
+Quote Post
jayw
post Apr 6 2014, 08:11 PM
Post #6


Newbie
*

Group: Members
Posts: 17
Joined: 6-April 14
Member No.: 1,995



After reading your response again I suspect that we have a communication problem:

I have a very generic server: ( see the previous post).

1. Your component did not work on it's initial install. I had to disable a line in your code to get the admin/component page to load. I think commented out line 125 of your code (commenting out line 125) .

2. This tells me that you did not test it on 3.2.3.

3. I tried numerous options that ranged from commenting out the offending line to digging deeper into your forum.


My friend, something in your code is not working.

Please advise.

-jay



Go to the top of the page
 
+Quote Post
pavelKukov
post Apr 7 2014, 07:47 AM
Post #7


Php programmer
****

Group: Administrators
Posts: 285
Joined: 26-November 12
From: Bulgaria
Member No.: 1,452



Problem on line 125 is now fixed.
It was compatibility issue with php 5.3. Read bellow for details.

About:
Цитат
Error
[ssl://pop.gmail.com:995]: Unable to establish link to the POP3 server. POP3 connect: Error [110] [Connection timed out]


Problem is not related with line 125. This can be due wrong authentication data or gmail protections.
You must resolve captcha and right after that to run import.


Details about 125 line:

File: /administrator/components/com_post_by_email/views/pbmitem/view.html.php on line 125

Following code which is compatible with php5.4+
Код
$csv_items = (new CsvimportexportModelConfigurations())->getItems();


is replaced with
Код
$CsvimportexportModelConfigurations = new CsvimportexportModelConfigurations();
$csv_items = $CsvimportexportModelConfigurations->getItems();


which is compatible with php 5.3+


--------------------
Php programmer in 3D Web Design
Go to the top of the page
 
+Quote Post
jayw
post Apr 7 2014, 11:14 AM
Post #8


Newbie
*

Group: Members
Posts: 17
Joined: 6-April 14
Member No.: 1,995




I had already followed the "https://accounts.google.com/DisplayUnlockCaptcha" directions but it looks like it's not able to reach gmail.

The component is displaying the error message below which would lead one to believe that it's not able to reach pop.gmail.com as opposed to being denied access if it was presented with a captcha.

QUOTE
"Error
[ssl://pop.gmail.com:995]: Unable to establish link to the POP3 server. POP3 connect: Error [110] [Connection timed out]"



I checked with the account's security log and the only activities listed are when I've logged into the account ( https://security.google.com/settings/securi...hl=en&pli=1 ).


QUOTE
Your Recent Activity
Date Event Location
7:04 AM Signed in from Chrome (Windows) Crawfordville, FL, USA
Apr 6 Signed in from Chrome (Windows) Crawfordville, FL, USA
Apr 6 Changed password Crawfordville, FL, USA
Apr 6 Signed in from Chrome (Windows) Crawfordville, FL, USA
Apr 1 Signed in from Chrome (Windows) Crawfordville, FL, USA
Go to the top of the page
 
+Quote Post
pavelKukov
post Apr 7 2014, 11:23 AM
Post #9


Php programmer
****

Group: Administrators
Posts: 285
Joined: 26-November 12
From: Bulgaria
Member No.: 1,452



Цитат(jayw @ Apr 7 2014, 02:14 PM) *
I had already followed the "https://accounts.google.com/DisplayUnlockCaptcha" directions but it looks like it's not able to reach gmail.

The component is displaying the error message below which would lead one to believe that it's not able to reach pop.gmail.com as opposed to being denied access if it was presented with a captcha.

I checked with the account's security log and the only activities listed are when I've logged into the account ( https://security.google.com/settings/securi...hl=en&pli=1 ).


Here on testing server I am testing with gmail too.
Is it possible for some reason your server to be in blacklists?
If you can send me authentication data to pavel at 3dwebdesign.org I will try from here.


--------------------
Php programmer in 3D Web Design
Go to the top of the page
 
+Quote Post
Web Design Seo
post Apr 7 2014, 12:23 PM
Post #10


Web Design Seo
****

Group: Root Admin
Posts: 4,332
Joined: 29-April 09
From: Sofia
Member No.: 1



Not our server, your server is important. Is possible to be on some spam list, yes. Just try with other email.


--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post
jayw
post Apr 7 2014, 01:06 PM
Post #11


Newbie
*

Group: Members
Posts: 17
Joined: 6-April 14
Member No.: 1,995



Not sure if it's being blocked by Google but it looks like my servers IP address is showing up on Baracuda's blacklist:
Код
http://mxtoolbox.com/SuperTool.aspx?action=blacklist%3a108.160.xxx.xxx&run=toolpage


I've submitted a removal request to Baracuda but there are no guarantees about response times.
I sent you the google-apps account information and password.
Thanks for the assistance.

-j

Цитат(pavelKukov @ Apr 7 2014, 07:23 AM) *
Here on testing server I am testing with gmail too.
Is it possible for some reason your server to be in blacklists?
If you can send me authentication data to pavel at 3dwebdesign.org I will try from here.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Collapse

> Similar Topics

  Topic Replies Topic Starter Views Last Action
No new Error Storing Existing Alias
5 Kat 62,211 30th July 2021 - 07:24 PM
Last post by: Kat
No new Pinned: Topic has attachmentsPost By Email Pro
Pro version of Post By Email component
116 Ivan Stamenov 630,492 24th March 2021 - 01:56 PM
Last post by: Web Design Seo
No New Posts Post By Email Pro - Cron Warnings
JROUTER_MODE warnings
3 Brian Craigie 124,164 12th March 2020 - 08:35 AM
Last post by: Web Design Seo
No New Posts Post By Email To K2 Images Not Resizing
1 bossies 127,191 31st May 2019 - 10:49 AM
Last post by: Web Design Seo
No New Posts Post By Email, Error 500
500 error on backend
1 galamarco 172,089 17th January 2019 - 06:29 AM
Last post by: Web Design Seo
No New Posts Error [111] [connection Refused]
[solved]
2 Jan van Kuijk 65,984 17th September 2016 - 07:13 AM
Last post by: Jan van Kuijk
No new Post By Email Not Working Since Joomla 3.5.0 Update [solved]
5 tompuchner 135,055 2nd May 2016 - 07:04 AM
Last post by: Web Design Seo
No New Posts Post By Email Using Mms On A Mobile Phone
1 alexilio 122,503 13th April 2016 - 09:44 AM
Last post by: Web Design Seo
No New Posts Post By Email Jomsocial - Unable To Post To Wall
3 uglykidjoe 96,416 11th February 2016 - 07:25 AM
Last post by: Web Design Seo
No New Posts Post By Email Doesn't Works
1 cranky69 107,849 1st December 2015 - 10:30 AM
Last post by: Web Design Seo


 



RSS Lo-Fi Version Time is now: 1st June 2026 - 11:40 PM