Support Spidean

Do you like our FREE downloads? How about the FREE support for the FREE downloads? Please help us out and donate any amount! It's fast and easy through PayPal.

Spidean Forums

Board Index > AT-Lite .7 (Support) > Fatal error after installation


 < Last Thread   Next Thread >New Topic  Post Reply
Author: Subject: Fatal error after installation

Newbie





Posts: 8
Registered: 11/6/2003
Status: Offline

  posted on 11/6/2003 at 03:02 AM
Hello, I just downloaded AutoTheme Lite and installed it to my PostNuke .726. I unzipped the AutoTheme files as well as the compatibility pack to the respective folders. I initialized the module in my admin, and then clicked on the AutoTheme icon. It gives me this error:

Fatal error: Call to undefined function: atgetplatform() in /usr/home/sfit/public_html/portal/modules/AutoTheme/admin.php on line 656

This is the code it is referring to:


<?function atAdminInit($atdir)

{

    
$incdir $atdir."includes/";

    
$platform atGetPlatform();

    
$platformdir $incdir."$platform/";



    include_once(
$incdir."phpFuncs.php");

    include_once(
$platformdir."atAPI.php");

    include_once(
$platformdir."atAdmin.php");



    
atModLangLoad('admin');

?>



I am sure that this is a user error, but I would appreciate any help or direction you could point me in. Thank you in advance!

 
Reply With Quote

Administrator




Posts: 4608
Registered: 10/7/2002
Status: Online

  posted on 11/6/2003 at 03:14 AM
It's looking for modules/AutoTheme/includes/atAPI.php.

Do you have this file?

-Shawn

[Edited on 11/6/2003 by Shawn]

 
Reply With Quote

Newbie




Posts: 8
Registered: 11/6/2003
Status: Offline

  posted on 11/6/2003 at 03:23 AM
Man you're fast!

Yes, I have atAPI.php in that location on my server.....hmmmm.

 
Reply With Quote

Administrator




Posts: 4608
Registered: 10/7/2002
Status: Online

  posted on 11/6/2003 at 03:25 AM
OK, I edited the post while you were reading it probably. Check it again, different path.

-Shawn

 
Reply With Quote

Newbie




Posts: 8
Registered: 11/6/2003
Status: Offline

  posted on 11/6/2003 at 03:33 AM
I double-checked, and yes I do have that file in that location. Could it be possible that I uploaded files to the wrong locations? This is the only part that I was not 100% certain about while following your doc.

I uploaded the AutoTheme directory to my modules directory on my server. Then, I uploaded the contents of themes to my themes directory on my server. Lastly, I uploaded the contents of the "modules" directory from the at-lite_7_pn_pack to my modules directory on my server.

That seems to be correct to me, but this is all I could think of to double check.

 
Reply With Quote

Newbie




Posts: 8
Registered: 11/6/2003
Status: Offline

  posted on 11/6/2003 at 03:41 AM
Forgot to mention that I also made the following changes to admin.php and autotheme.php after searching through the forum:

error_reporting(E_ALL^E_NOTICE);

to:

error_reporting(E_ALL^E_WARNING^E_NOTICE);

Since I am running .726, I shouldn't have to install the fix for .721 that you have in your downloads section, correct?

Sorry to be a pain in your side this evening, but I have heard great things about this program, and I am very eager to try it out. If I can get this to work, I will definitely be sending you some love in the form of purchasing the upgrade, as soon as payday comes around.

 
Reply With Quote

Administrator




Posts: 4608
Registered: 10/7/2002
Status: Online

  posted on 11/6/2003 at 04:43 AM
Change the error_reporting back to the way it was temporarily, so that it will show more errors. Post those errors and I'll look.

-Shawn

 
Reply With Quote

Newbie




Posts: 8
Registered: 11/6/2003
Status: Offline

  posted on 11/6/2003 at 04:52 AM
Okay...changed it back to the original admin.php and autotheme.php files, and I am still getting:

Fatal error: Call to undefined function: atgetplatform() in /usr/home/sfit/public_html/portal/modules/AutoTheme/admin.php on line 656

 
Reply With Quote

Administrator




Posts: 4608
Registered: 10/7/2002
Status: Online

  posted on 11/6/2003 at 04:55 AM
Should be an error_reporting in PN_ROOTDIR/includes/pnAPI.php also. Change that temporarily.

-Shawn

 
Reply With Quote

Newbie




Posts: 8
Registered: 11/6/2003
Status: Offline

  posted on 11/6/2003 at 05:02 AM
Yeah, on line 339 I found error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);

changed to error_reporting(E_ALL^E_NOTICE);

But, I am still getting only that error...

 
Reply With Quote

Newbie




Posts: 8
Registered: 11/6/2003
Status: Offline

  posted on 11/10/2003 at 05:26 AM
....any other ideas?
 
Reply With Quote

Administrator




Posts: 4608
Registered: 10/7/2002
Status: Online

  posted on 11/11/2003 at 05:25 AM
The only issues really can be that 1. the files are not in the proper locations or 2. the files are some how corrupted. Try a fresh install of AutoTheme.

-Shawn

 
Reply With Quote

Newbie




Posts: 8
Registered: 11/6/2003
Status: Offline

  posted on 11/12/2003 at 02:06 AM
Weird, I posted yesterday to this thread, but now I don't see it. I uninstalled it completely and reinstalled it a total of three times. Appearantly the third time was a charm. I'm sure it was just user error on my part somewhere along the line. Thanks for the help, and sorry for wasting your time.

Now to play around with this, and see just what it can do! Thanks again for your time, patience, and support!

 
Reply With Quote
New Topic    Post Reply


Main Menu

Get AutoTheme

Featured Item

Poll

How do you like the new look?

[ Results | Polls ]

Votes: 180

Powered by the AutoTheme HTML Theme System
Page created in 0.694469 Seconds