Can't load any mods at all

Started by Siirist, July 01, 2010, 01:02:07 AM

Previous topic - Next topic

Siirist

Hello,

I can move around the Admin Control Panel, but when I click on Packages, I get the white screen of death with the following error:

Parse error: syntax error, unexpected $end in /public_html/yoursanctuary/Sources/Subs-Package.php  on line 858

line 857: 'port' => isset($_POST['ftp_port']) ? $_POST['ftp_port'] : (isset($modSettings['package_port']) ? $modSettings['package_port'] : '21'),

line 858: 'username' => isset($_POST['ftp_username']) ? $_POST['ftp_username'] : (isset($modSettings['package_username']) ? $modSettings['package_use

Any thoughts?

Thanks are offered in advance.

Be Well,
Cloud 8)
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

sAce

Corrupted file, overwrite  that file with a fresh one

Siirist

Quote from: S-Ace on July 01, 2010, 01:31:57 AM
Corrupted file, overwrite  that file with a fresh one

S-Ace,

That fixed it!!
  Thank you very very much!!!

Be Well,
Cloud 8)
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Siirist

Quote from: SurvivorOfAbuse on July 01, 2010, 01:53:25 AM
Quote from: S-Ace on July 01, 2010, 01:31:57 AM
Corrupted file, overwrite  that file with a fresh one

S-Ace,

That fixed it!!
  Thank you very very much!!!

Be Well,
Cloud 8)


Well, I was over optomistic. When I actually go in, Download Packages, File Permissions, and Options function normally.
-----------------------------------------------
Installed Packages shows "No mods currently installed".
Here are that were installed:
- copy_topics_v1.6
- Disable_Right_Click_v4.0.2
- installed_time-rc3
- Karma_Buttons
- menu.buttons.1.1.smf.1.1.x-2.x
- Printbutton
- RulesOnPost 2.0RC2
- TopicNote_0.6    (the text below appears when modifying a board, and is not from SMF ver2.0 RC3, so it must be left over from this mod)
          Notice Title (Optional):
               The title for the notice that will go above the Message Index for this board
          Notice Description:
               Short description for the notice that will go above the Message Index for this board
- TopicSolved1.1
- treasury_v2.06
          Paid Subscriptions
               From this section you can view all the subscriptions you have available.
(this is showing as still active and can be reached ACP -> Members -> Paid Subscriptions)
-----------------------------------------------

I would install all of these again, except that Browse Packages gets this fatal error:
Fatal error: Call to undefined function: sort_params_link() in /public_html/yoursanctuary/Sources/Load.php(2083) : eval()'d code on line 644

line 643 =       );
line 644 =       // If there aren't any, skip.
line 645 =       if ($smcFunc['db_num_rows']($request) > 0)

For information purposes,
line 2664 = ?>

See screen shot for more

As always, thank you for your help.

Be Well,
Cloud
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

sAce

Un install this mod -- installed_time-rc3, manually

See if it resolves the problem.

Siirist

Quote from: S-Ace on July 01, 2010, 12:58:36 PM
Un install this mod -- installed_time-rc3, manually

See if it resolves the problem.


I don't think I explained the situation adequately.

There are no mods installed. Not one.

Hmmm.

Cloud
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

sAce

QuoteInstalled Packages shows "No mods currently installed".
Here are that were installed:

It is installed, just not being shown in the list

Siirist

#7
Quote from: S-Ace on July 02, 2010, 01:01:24 AM
QuoteInstalled Packages shows "No mods currently installed".
Here are that were installed:

It is installed, just not being shown in the list

Very well, I will find the parse for the code and go to the host and uenninstall.

Thanks,
Cloud

--------------------------------------------------------------------------------

EDIT - July 2, 11:24am

I took screen shots of my ACP -> Packages -> Installed
ACP Packages Installed.png

I found the parse and took screen shot
Subs-Package Parse.png

and then I looked for the first add after, but couldn't find it
Subs-Package1.png

then I looked for the second add after, and couldn't find it either
Subs-Package2.png

I didn't take these screen shots to be snotty or aloof, :-[
only to show that I can't find anything.

* walks carefully on eggshells because I'm afraid I will piss someone off and will have to go away*  :-\  :'(
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Siirist

Quote from: SurvivorOfAbuse on July 02, 2010, 01:05:48 AM
Quote from: S-Ace on July 02, 2010, 01:01:24 AM
QuoteInstalled Packages shows "No mods currently installed".
Here are that were installed:

It is installed, just not being shown in the list

Very well, I will find the parse for the code and go to the host and uninstall.

Thanks,
Cloud

--------------------------------------------------------------------------------

EDIT - July 2, 11:24am

I took screen shots of my ACP -> Packages -> Installed
ACP Packages Installed.png

I found the parse and took screen shot
Subs-Package Parse.png

and then I looked for the first add after, but couldn't find it
Subs-Package1.png

then I looked for the second add after, and couldn't find it either
Subs-Package2.png

I didn't take these screen shots to be snotty or aloof, :-[
only to show that I can't find anything.

* walks carefully on eggshells because I'm afraid I will piss someone off and will have to go away*  :-\  :'(


Hello,

Just needed this to be refreshed, changed the subject line, and to say that

I can't load any mods at all

Again, here is the error
Fatal error: Call to undefined function: sort_params_link() in Sources/Load.php(2083) : eval()'d code on line 644

and here are the Lines of Load.php again as well

643      );
644      // If there aren't any, skip.
645      if ($smcFunc['db_num_rows']($request) > 0)

Will reloading SMF ver2.0 RC3 Fix the error?

Thanks in advance.

Be Well,
Cloud
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

sAce

your subs-packages.php is fresh with no edits, you need to remove the other edits,

Siirist

First, we are more jumpy than most,
we apologize for that. :-[
We realize that technically, we can go to "Download Packages" and install them, :-[ but we don't dare install mods until this error is gone because it may do more damage. :-\
That is why we jumped to that conclusion. Sorry  O:)

Quote from: S-Ace on July 03, 2010, 01:09:19 AM
your subs-packages.php is fresh with no edits, you need to remove the other edits,


S - Ace, thanks for your help, but don't know what you mean when you say "you need to remove the other edits,". :-\


So, first opened the file Subs-Packages.php and saved it as Subs-Packages-Broken6-29-10.php
Then we opened Subs-Packages.php~ and looked at line 644 and because it was different,
we saved it as Subs-Packages.php :P
Then we went to Admin-> Maintenance-> Forum Maintenance-> Routine-> Empty the file cache
The maintenance task 'Empty the file cache' was executed successfully.
and then reloaded the Browse Packages page.
Fatal error: Call to undefined function: sort_params_link() in /home/thegr45/public_html/yoursanctuary/Sources/Load.php(2083) : eval()'d code on line 644
Damn  >:(
Refreshed page
No Difference
Damn, Damn  >:(  >:(

We went to Admin-> Maintenance-> Forum Maintenance-> Routine-> Find and repair any errors :P
Congratulations, no errors found! Thanks for checking. But there is an error ???

Still trying to think of a "clean replacement of Subs-Package", in downloads we found an SMF folder that contained an extracted SMF ver2.0 RC3 Upgrade. Went to the -> Sources -> Subs-Packages.php in our downloads folder and looked at it and it looked okay, :)

So, we Ctrl+A to highlight everything, then we opened Sources -> Subs-Packages.php, highlighted everything and pasted, then we saved it as Subs-Packages.php ;D

So we now have the:
originally non-functioning as Subs-Packages-Broken6-29-10.php
the original "back-up" remains as Subs-Packages.php~
and the upgrade file we found is currently Subs-Packages.php

We went to Admin-> Maintenance-> Forum Maintenance-> Routine-> Empty the file cache ;)
The maintenance task 'Empty the file cache' was executed successfully.
and reloaded the Browse Packages page.
Fatal error: Call to undefined function: sort_params_link() in /home/thegr45/public_html/yoursanctuary/Sources/Load.php(2083) : eval()'d code on line 644
Damn, Damn  >:(  >:(
Refreshed page ;)
No difference again
Damn, Damn, Damn  >:(  >:(  >:(

Head-desk Like a brick wall.  :(

Have attached the current Subs-Packages.php  O:)

Thank you for trying S - Ace. We appreciate your repeated attempts and your time.  :) :) :)

*still wonders if "over-installing" the program would fix this - would have to be done without wiping out the data base, done this, but forget that one file that should NOT be overwritten*

Hope all are or will have a safe week-end, :D
Cloud
PS --> Do want to say that at least the forum is operational, but the effects of the mods are not there (except for Paid Subscriptions ???:-\  .  *nods* It could be much worse.
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

cicka

Seeing how errors you are getting the easiest way to go about it is to overwrite all your forum files with fresh files from the large upgrade package. But do not upgrade the upgrade.php and the other upgrade sql files. Then you go install your mods again.

Siirist

Quote from: cicka on July 03, 2010, 01:34:24 PM
Seeing how errors you are getting the easiest way to go about it is to overwrite all your forum files with fresh files from the large upgrade package. But do not upgrade the upgrade.php and the other upgrade sql files. Then you go install your mods again.



cicka,

Thank you very much for your help!

"overwrite all your forum files with fresh files from the large upgrade package. But do not upgrade the upgrade.php and the other upgrade sql files."

First, is this task done by copy and paste the files one at a time?
Second, what are the other upgrade sql files?

Thank you again.

Be Well,
Cloud
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

cicka

Quote from: SurvivorOfAbuse on July 03, 2010, 03:53:36 PM
Quote from: cicka on July 03, 2010, 01:34:24 PM
Seeing how errors you are getting the easiest way to go about it is to overwrite all your forum files with fresh files from the large upgrade package. But do not upgrade the upgrade.php and the other upgrade sql files. Then you go install your mods again.



cicka,

Thank you very much for your help!

"overwrite all your forum files with fresh files from the large upgrade package. But do not upgrade the upgrade.php and the other upgrade sql files."

First, is this task done by copy and paste the files one at a time?
Second, what are the other upgrade sql files?

Thank you again.

Be Well,
Cloud

You can do it with a ftp program. Download the large upgrade package at your computer, unzip it, delete the upgrade.php and the other upgrade sql files and then ftp the files to your forum folder overwriting them.

Siirist

*nods*
I think I have that already extracted on my hard drive because it is where I got the Subs-Package.php

The folder is titled "smf_2-0-rc3_upgrade"
Do you know if these are ALL the sql files?
upgrade_1-0.sql
upgrade_1-1.sql
upgrade_2-0_mysql.sql
upgrade_2-0_postgresql.sql
upgrade_2-0_sqlite.sql
OR
are there more hidden in these folders
attachments
avatars
cache
Packages
Smileys
Sources
Themes

Cloud
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

cicka

Yes, they are the ones. There are no other hidden upgrade files.

Siirist

Quote from: cicka on July 03, 2010, 04:12:33 PM
Yes, they are the ones. There are no other hidden upgrade files.

Thank you!!!   :D

Should be done in about 3-5 minutes. ;D

Cloud 8)
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

cicka

Quote from: SurvivorOfAbuse on July 03, 2010, 04:15:12 PM
Quote from: cicka on July 03, 2010, 04:12:33 PM
Yes, they are the ones. There are no other hidden upgrade files.

Thank you!!!   :D

Should be done in about 3-5 minutes. ;D

Cloud 8)


You are welcome :) I hope the method I suggested it will help.

Siirist

#18
cicka,

I hope so too.
Because I didn't upload the upgrade.php, I don't have to do anything other than sign out and sign in, right?

Cloud


EDIT -  If you are reading this, ALWAYS remember to Back-Up BEFORE making changes like this, because I forgot.  :o  Hope it goes okay :-[
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

cicka

Quote from: SurvivorOfAbuse on July 03, 2010, 04:23:47 PM
cicka,

I hope so too.
Because I didn't upload the upgrade.php, I don't have to do anything other than sign out and sign in, right?

Cloud


EDIT -  If you are reading this, ALWAYS remember to Back-Up BEFORE making changes like this, because I forgot.  :o  Hope it goes okay :-[

You will not have to do anything else, even sign out and sign in is not needed.

Advertisement: