• Upgrade Help
  • Upgrade from 1.6 RC5 1.6 ST > Internal Error > Online / Offline

So I installed with fantastico and it worked lovely but then apparently need to do an upgrade to fix the following error:

Parse error: syntax error, unexpected T_VARIABLE in /home/evenbett/public_html/support/api/pipe.php on line 88

Per the instructions, I took the helpdesk offline to being with.

I took great pains to be deliberate about doing the upgrade and ALL the messages in the upgrade process said it was successful, including internal messages.

Now when I go to put the site back online i get the very descriptive and helpful errror message

"internal error"

And as that offers no indication of how to fix said error I have no choice but to ask for your collective help.

regards from Toronto,

Alex

So...

I manually edited the database and changed the isonline value to '1' from '0' and that got the os back online but that's hardly an elegant solution...nor did it solve the underlying problem and when I try to put it back offline or make any other changes to the preferences, the same 'internal error' shows up.

12 days later

There is more...

It's not only an Offline/Online issue. This error happens whenever someone tries to save the preferences.

15 days later

any solution

i'm experiencing the same issue.

i figured out where the error is being triggered, that's about it. it's lines 73-78 of /scp/admin.php

if($cfg->updatePref($_POST,$errors)){

$msg='Preferences Updated Successfully';

$cfg->reload();

}else{

$errors=$errors?$errors:'Internal Error';

}

any help on this? is changing the isonline binary variable like alexoliveira suggested the only work around?

I had problems with Fantastico too. I think some of their PHP pages (particularly in the "api" directory) are corrupt.

Anyway, the solution I came up with is this: download osTicket from (the official site), then use it to replace the "api" directory on your site. It should work; it did for me, anyway.

fantastico isn't the problem

at least for me... fantastico isn't the problem because i'm not using it. i downloaded the upgrade package from this site and installed it on my mac pro. anyone else have any input on how to fix this error?

a month later

Hi there, first post!

I had the same problem you're describing here.

Update from RC5 to ST was smooth, but when I tried to get the system back online, I got that nasty "internal error" message.

As Onideia pointed out, the error actually poped up every time I tried to save the preferences.

I started checking the code ahs10 mentioned before, and finally isolated the cause of the issue in page class.config.php, lines 510-511:

if(!$errors && Email:($var)) //Make sure admin email is not also a system email.

$errors='Email already setup as system email';

It seems to be a new verification added there, that prevents the use of the same email address as admin AND system email. I was using the same email account for both purposes, and that's why it didn't let me save the preferences.

I commented those two lines (because I don't want that restriction), and everything is working great now.

Oh, and I'm not using Fantastico (I don't even know what it is)

Well, I hope this could help anyone getting this annoying error after updating the system. ;)

Write a Reply...