PDA


View Full Version : Upgrading Question


Milk Man
06-05-2005, 07:56 AM
If i upgrade to 2.X, will i have to redo the news hack? and will i have to redo my custom Modules?

Milk Man
06-05-2005, 08:30 AM
What happenes if you don't have code that is asked to find?

In my global.php file, I can't find:

// identify where we are
define('VB_AREA', 'AdminCP');
if (!isset($phrasegroups))
{
$phrasegroups = array();
}
$phrasegroups[] = 'cpglobal';
if (!isset($specialtemplates))
{
$specialtemplates = array();
}
$specialtemplates[] = 'mailqueue';

Milk Man
06-05-2005, 09:13 AM
ok, i did the upgrade, now i've lost my center column,

and when i try and save the custom page content, i get this error:

could not find
'adv_portal_must_choose_custom_include'.

Brian
06-05-2005, 10:07 AM
If you'll edit your vba_cmps_admin.php file and look for this code:
if ($type != 'custom')

Replace it with this:
if ($type == 'custom')
{
construct_hidden_code('module[identifier]', 'custompage');
}
else


That should take care of the problem with saving your Custom Page Content module.

Milk Man
06-05-2005, 10:18 AM
Cheers,

How about getting the center collumn back?

Brian
06-05-2005, 10:57 AM
What was in it originally?

Milk Man
06-05-2005, 08:05 PM
My news, and i was using the hack where it makes news from a thread. I'm getting nothing, not even my archive.

have a look: http://tgimm.com

FightRice
06-05-2005, 08:16 PM
I had that same problem, didn't pinpoint exactly what it was, but I ran the installer again and just installed templates and phrases again sepereatly from the rest and it fixed it for me.

Milk Man
06-05-2005, 08:20 PM
done and still nothing.

Milk Man
06-06-2005, 05:38 AM
ok, sorted, My bad, I didn't select what i wanted as news. Specified Threads or whole forums, I'm still living in the 1.0's