Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8777145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:13:06+00:00 2026-06-13T19:13:06+00:00

I am upgrading an existing website from Symfony 1.3.8 to 1.4.12. I keep getting

  • 0

I am upgrading an existing website from Symfony 1.3.8 to 1.4.12. I keep getting an error message regarding the javascript helper. Upon doing some research, I found that this was due to a name change of the helper.

I did a manual search/replace in all of my (several hundred) php files from:

<?php use_helper('Javascript'); ?>

to:

<?php use_helper('JavascriptBase'); ?>

I then cleared cache (removed all contents and sub folders manually) and then restarted the website. The site failed to load and when I checked the php_error.log file, I dound the following messages:

Unable to load "JavascriptHelper.php" helper in: 
    SF_ROOT_DIR/apps/frontend/modules/home/lib/helper, 
    SF_ROOT_DIR/apps/frontend/lib/helper, 
    SF_ROOT_DIR/lib/helper, 
    SF_ROOT_DIR/plugins/sfAssetsLibraryPlugin/lib/helper, 
    SF_ROOT_DIR/plugins/sfGoogleAnalyticsPlugin/lib/helper, 
    SF_SYMFONY_LIB_DIR/helper.

I am sure I had replaced all occurrences, so I did a grep search:

 grep -lr "use_helper('Javascript'" . 2>/dev/null | grep -v .svn 
./doc/2colwideLHS.php
./log/php_errors.log.old
./apps/frontend/modules/sfGuardAuth/templates/registerSuccess.php.old

As can be seen, none of the files used contains the old helper name – why is it still not working, what am I missing?

[[Edit]]

Based on feedback I got, I decided to disable all plugins (with the exception of Propel plugin). This is what my config/ProjectConfiguration.php file looks like:

<?php

 class ProjectConfiguration extends sfProjectConfiguration
 {
    public function setup()
    {
        $this->enablePlugins(array('sfPropelPlugin',
                                   /*'sfAssetsLibraryPlugin',
                                   'sfFormExtraPlugin',
                                   'sfGoogleAnalyticsPlugin',
                                   'sfGuardPlugin'*/));

    }
}

However, after clearing cache and refreshing the web page, I get exactly the same error as before. I’m getting desperate now as the site has been taken down for most of the day and I need to get it back online ASAP.

As an aside, I am aware that 1.4.12 is no longer supported, however Symfony moved the goal posts so much from Symfony 1.x to 2.x that an upgrade to 2.0 will involve an entire site rewrite – which I don’t have the resources to do at the moment, so I am trying to upgrade the working site to the next best thing, 1.4.12.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T19:13:07+00:00Added an answer on June 13, 2026 at 7:13 pm

    1.4 should be fine. I maintain a number of sites using that code base.

    Now as yo uour actual problem, I bet its one of the plugins youre using, most likely sfAssetsLibraryPlugin. You need to upgrade those to their 1.4 branches as well. If they havent been converted from 1.x or have but there were some misses then youll have to fork them and update things yourself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have some existing JavaScript for enabling/disabling a bunch of checkboxes. After upgrading from
Upgrading from ASP.NET WebAPI Beta to RC has provided some amount of excitement and
While upgrading an existing app, I'm getting the notorious: The binary you uploaded was
We're upgrading an existing program from Win2k/SQL Server 2k to Windows 2003 and SQL
We're upgrading a large site, opendemocracy.net, from Drupal 4.7 to Drupal 6. Our existing
I'm in the process of upgrading an existing ASP.NET2.0 application to .NET3.5 (moving from
I'm upgrading an existing front-end and back-end set of mdbs. The back-end is getting
I upgraded from jquery 1.3.2 to 1.6.4 and found some things in the existing
After seeing some of the problems that Microsoft has had upgrading people from Internet
In upgrading my application from v1 to v2, I've made a few small changes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.