event_mobile_ breaks site

Found a bug? Tell us!!
Post Reply
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

event_mobile_ breaks site

Post by Xanthouos »

I tried installing the serendipity_event_mobile_output plugin and it seams to have broken s9y:

Code: Select all

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/d/i/e/diefamilie/html/support/plugins/serendipity_event_mobile_output/mobile.class.php on line 7
http://support.diefamilie.org/

BTW, I deleted the plugin dir, back up, removed it from the list of installed plugins.
If you can't be a missionary, you can support a missionary.
~~~~~~~~~~~~~~~~~~~~~
www.GetMepis.com
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

I had a look, and that line is:

Code: Select all

  private static $instance = NULL;
All of those look like fine PHP keywords and variables to me. The lines above and below are okay, too.

It's possible the file was corrupted on transfer. Did you install through SPARTACUS or through FTP?

I suppose it's possible that the PHP version would make a difference, too. Which version do you run?

Nice looking page, by the way.
Judebert
---
Website | Wishlist | PayPal
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

Post by Xanthouos »

judebert wrote:I had a look, and that line is:

Code: Select all

  private static $instance = NULL;
All of those look like fine PHP keywords and variables to me. The lines above and below are okay, too.

It's possible the file was corrupted on transfer. Did you install through SPARTACUS or through FTP?

I suppose it's possible that the PHP version would make a difference, too. Which version do you run?
Was uploaded via sparticus. I suppose I can try again, since it's easy to remedy. :-)

PHP Version 4.3.11
Nice looking page, by the way.
Thank you! :D
If you can't be a missionary, you can support a missionary.
~~~~~~~~~~~~~~~~~~~~~
www.GetMepis.com
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

Post by Xanthouos »

ok, tried again and it crashes on install:

Code: Select all

Trying to open URL package_event_en.xml...
Fetched 241516 bytes from already existing file on your server. Saving file as /home/content/d/i/e/diefamilie/html/support/templates_c/package_event_en.xml...


Trying to open URL serendipity_event_mobile_output.php?rev=1.9999...
Fetched 30416 bytes from the URL above. Saving file as /home/content/d/i/e/diefamilie/html/support//plugins/serendipity_event_mobile_output/serendipity_event_mobile_output.php...
Data successfully fetched.
Trying to open URL wurfl_config.php?rev=1.9999...
Fetched 6382 bytes from the URL above. Saving file as /home/content/d/i/e/diefamilie/html/support//plugins/serendipity_event_mobile_output/wurfl/wurfl_config.php...
Data successfully fetched.
Trying to open URL wurfl_class.php?rev=1.9999...
Fetched 22530 bytes from the URL above. Saving file as /home/content/d/i/e/diefamilie/html/support//plugins/serendipity_event_mobile_output/wurfl/wurfl_class.php...
Data successfully fetched.
Trying to open URL update_cache.php?rev=1.9999...
Fetched 3255 bytes from the URL above. Saving file as /home/content/d/i/e/diefamilie/html/support//plugins/serendipity_event_mobile_output/wurfl/update_cache.php...
Data successfully fetched.
Trying to open URL wurfl_parser.php?rev=1.9999...
Fetched 18554 bytes from the URL above. Saving file as /home/content/d/i/e/diefamilie/html/support//plugins/serendipity_event_mobile_output/wurfl/wurfl_parser.php...
Data successfully fetched.
Trying to open URL lang_en.inc.php?rev=1.9999...
Fetched 5862 bytes from the URL above. Saving file as /home/content/d/i/e/diefamilie/html/support//plugins/serendipity_event_mobile_output/lang_en.inc.php...
Data successfully fetched.
Trying to open URL mobile.class.php?rev=1.9999...
Fetched 8508 bytes from the URL above. Saving file as /home/content/d/i/e/diefamilie/html/support//plugins/serendipity_event_mobile_output/mobile.class.php...
Data successfully fetched.
Trying to open URL lang_de.inc.php?rev=1.9999...
Fetched 6352 bytes from the URL above. Saving file as /home/content/d/i/e/diefamilie/html/support//plugins/serendipity_event_mobile_output/lang_de.inc.php...
Data successfully fetched.
Trying to open URL i.php?rev=1.9999...
Fetched 1196 bytes from the URL above. Saving file as /home/content/d/i/e/diefamilie/html/support//plugins/serendipity_event_mobile_output/i.php...
Data successfully fetched.

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/d/i/e/diefamilie/html/support/plugins/serendipity_event_mobile_output/mobile.class.php on line 7
If you can't be a missionary, you can support a missionary.
~~~~~~~~~~~~~~~~~~~~~
www.GetMepis.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

The plugin only works with PHP5.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

Post by Xanthouos »

garvinhicking wrote:Hi!

The plugin only works with PHP5.

Regards,
Garvin
Ahhh, makes sense. Ok. well, a lot of servers haven't upgraded yet. :-)

Maybe that aspect could be mentioned in the info box of the plugin, so more folks don't have the same problem?

Judebert, I noteced you use Ubuntu. :-) I use Mepis! ;-)
If you can't be a missionary, you can support a missionary.
~~~~~~~~~~~~~~~~~~~~~
www.GetMepis.com
dnlninja
Regular
Posts: 8
Joined: Sat Mar 11, 2006 8:03 pm

Post by dnlninja »

having this same problem, anyway to fix it? cant see to delete it now..
dnlninja
Regular
Posts: 8
Joined: Sat Mar 11, 2006 8:03 pm

Post by dnlninja »

nm fixed it, had to manually remove it using php code :/
CRen
Regular
Posts: 20
Joined: Tue Jul 08, 2008 7:45 pm
Contact:

Post by CRen »

Have the same problem, but the PHP5-Thing maybe solves it! :)
Post Reply