Jump to content


Photo

syntax error during install attempt

installation

  • Please log in to reply
9 replies to this topic

#1 sleahcim

sleahcim

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 17 July 2012 - 07:22 AM

I'm getting a 500 server error through the browser when attempting to call the install (.../app/index.php).

When checking the server log file this is the error:

PHP Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in ...

app/protected/extensions/zurmoinc/framework/components/WebApplication.php on line 132




Any ideas on why that may be happening?



#2 Ivica

Ivica

    Advanced Member

  • Moderators
  • 479 posts

Posted 17 July 2012 - 11:04 AM

I think it might be PHP version. Which PHP version is installed on your server?

#3 sleahcim

sleahcim

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 17 July 2012 - 04:01 PM

5.2.17 Damn. I assumed my hosting company had the latest. I'll look into asking for an upgrade.

Thing is, I have PHP v5.3.1 on my Mac (XAMPP install) which is where I really wanted to install it so I could get the extra performance. When installing on the Mac, at least I got to the next screen which pointed out that I didn't have the correct version of PHP. I didn't get that far on the server above.

Thanks for your help.

FYI. I have spent the last three months looking for the right CRM for my business. This is hands-down the best CRM I've found. Excellent job!

#4 jimf

jimf

    Advanced Member

  • Members
  • PipPipPip
  • 64 posts

Posted 17 July 2012 - 06:08 PM

I've been running Zurmo on my Mac (MAMP Install). I been on php 5.3.6. Yesterday I updated to the newest MAMP Pro 2.1 which comes with php 5.3.14 which runs great, and since it also has php 5.4.4 I tested Zurmo on php 5.4.4 (which ran fine too). Biggest challenge with MAMP install was getting memcache.so file for the right version of PHP, but Zurmo will run w/o memcache if you like.

#5 sleahcim

sleahcim

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 19 July 2012 - 08:05 AM

Jimf, I was going to post that very question in another thread and you saved me the time. I was looking at MAMP today and didn't see Curl or SOAP listed so I didn't think it would work. Did you have to install those separately or did it work without them?

I found out today that my requests for the additional plugins and installs (Curl & SOAP) would require that I pay for a VPS which I'm not willing to do right now. But what that means for a lot of small businesses out there is that their current server setup will not support Zurmo. Almost every client that I've worked with that had their own hosting account had an account that had fewer options to change their environment, plugins, or software that what I offer. I've run a web design/hosting business for the last 12 years on this server setup and have been able to install everything my clients have thrown at me, until now. What a shame.

#6 jimf

jimf

    Advanced Member

  • Members
  • PipPipPip
  • 64 posts

Posted 19 July 2012 - 04:51 PM

Curl and Soap are both in MAMP. You can install Zurmo on a Fresh Mamp install, but you'll have to tweak the MY.CNF setting for MYSQL in the templates section. I've used it with Mamp Free and MAMP Pro. I like the pro version for development since it lets me setup virtual hosts on the fly without having to tweak my hosts file or http.conf file. This way I can run 10 different websites and 3 versions of Zurmo on my dev box and just put in a different URL to launch them.

#7 sleahcim

sleahcim

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 20 July 2012 - 06:26 PM

Thanks JimF. One last question (I hope), what kind of tweaks to the MY.CNF setting will I have to make?

#8 jimf

jimf

    Advanced Member

  • Members
  • PipPipPip
  • 64 posts

Posted 22 July 2012 - 09:05 PM

These are all the settings in my.cnf, but most of these are the default. I think I only added the last 3.

[mysqld]
#port = 9999
socket = /Applications/MAMP/tmp/mysql/mysql.sock
key_buffer = 16M
max_allowed_packet = 20M
table_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
bind-address = 127.0.0.1
optimizer_search_depth=0
thread_stack=512K
max_sp_recursion_depth=20

#9 sleahcim

sleahcim

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 26 July 2012 - 07:04 AM

JimF. Thanks a million! I was able to get MAMP installed and used your my.cnf information to complete the Zurmo installation.

I'm running it without memcache. I couldn't find a memcache.so file to download for PHP 5.4.4. I could have compiled it but since I'm running OSX v10.6.8 I couldn't download the latest version of XCODE because it only runs on Lion (only developers can download older versions).

It's been a long, and at times, painful process but I finally got there. Thanks for all your help.

#10 MikeSmith

MikeSmith

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 21 February 2013 - 12:23 PM

Hi guys,

I just ran into the same installation "FAILS". And I am using the latest MAMP (free version).

I don't find a "MY.CNF" - is this a MAMP PRO config file?

Do you guys know where to tweek those settings within MAMP free?

 

Kind regards
Mikey







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users