Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: Class 'SpotTemplateHelper_Bootspot' #2

Open
weis999 opened this issue Dec 28, 2019 · 21 comments
Open

Uncaught Error: Class 'SpotTemplateHelper_Bootspot' #2

weis999 opened this issue Dec 28, 2019 · 21 comments

Comments

@weis999
Copy link

weis999 commented Dec 28, 2019

Hi Goeny,

I am getting the following error,

Fatal error: Uncaught Error: Class 'SpotTemplateHelper_Bootspot' not found in /var/www/spotweb/lib/page/SpotPage_Abs.php:94 Stack trace: #0 /var/www/spotweb/lib/page/SpotPage_Abs.php(40): SpotPage_Abs->getTplHelper(Array) #1 /var/www/spotweb/lib/page/SpotPage_edituserprefs.php(9): SpotPage_Abs->__construct(Object(Dao_Mysql_Factory), Object(Services_Settings_Container), Array) #2 /var/www/spotweb/index.php(242): SpotPage_edituserprefs->__construct(Object(Dao_Mysql_Factory), Object(Services_Settings_Container), Array, Array) #3 {main} thrown in /var/www/spotweb/lib/page/SpotPage_Abs.php on line 94

Do you see a way of solving this problem?

I did a clone on your repository, with the following files inside the map:
image

This is how I edited the ownsettings.php

image

Hope you can help me with this error.

@Goeny
Copy link
Owner

Goeny commented Jan 5, 2020

I'm sorry, but i havent worked on this for a long (looooong) time. A lot of changes has been made to Spotweb which i havent tracked for a long time either.

@Sweepr
Copy link
Collaborator

Sweepr commented Mar 15, 2020

@weis999

You have to run composer dump-autoload which re-generates the autloaders

@Sweepr
Copy link
Collaborator

Sweepr commented Mar 15, 2020

I've stumbled upon this today and tried it.

I have managed to get most of it working except for:

image

image

image

image

Rest is working.

If @Goeny you are willing to assist, maybe we can get it complete and implement this into Spotweb.

@Sweepr
Copy link
Collaborator

Sweepr commented Mar 15, 2020

Previews:

image

image

@Goeny
Copy link
Owner

Goeny commented Mar 15, 2020

@Sweepr
Thanks for trying to fix some issues.
Unfortunately i really do not have the time to work on it myself. And i havent worked in this for a long time. I'm not sure what changes there have been made by Spotweb.

Ofcourse you are welcome to implement your fixes yourself.
You can either fork this project or i can check and see if i can add you as dev.

@Sweepr
Copy link
Collaborator

Sweepr commented Mar 15, 2020

I am one of the developers of Spotweb, there are a few changes but not that big of a deal.

Only things that need to be finished are the things above.

But.. i'm not sure how it works in Bootstrap theme.

@Goeny
Copy link
Owner

Goeny commented Mar 15, 2020

I will set up a testing domain so i can check for some issues myself.
As is said, i hardly have any spare time so it might take some time.

Once those problems are fixed and it's implemented in Spotweb itself, i would love to see someone else take over.

For a good setup... Did you use the latest spotweb? And which version of php did you use?

@Sweepr
Copy link
Collaborator

Sweepr commented Mar 15, 2020

I understand, so have i.. ;-)

Thank you!

Best to use the develop branch, and PHP 5.6 or later can be used, better 7.4 which that is the latest supported version.

@Sweepr
Copy link
Collaborator

Sweepr commented Mar 15, 2020

If you want i can clone yours, then edit my changes and then push to the repo.

@Sweepr
Copy link
Collaborator

Sweepr commented Mar 15, 2020

I have pushed my local changes into Develop branch: 3f5b33f

@Goeny
Copy link
Owner

Goeny commented Mar 15, 2020

I am running the retreiver now on a clean install with php 7.2 (My server does not support 7.3/7.4 yet)

@Sweepr
Copy link
Collaborator

Sweepr commented Mar 15, 2020

I have also updated the Bootstrap version 3.3.1 to the current v4.4.1 in the backup folder is the previous version... not sure if JQuery 1.11.2 is good enough, or if this also needs to be updated.

When we can get these 5 things working then we have a very pretty theme to add ;-)

image

image

image

image

Would be sad to see such good looking theme go to waste.

@Goeny
Copy link
Owner

Goeny commented Mar 15, 2020

Would be sad to see such good looking theme go to waste.

I know. But as you can see in master branch, it's been about 5-6 years since i last worked on this.
Still using spotweb (as newznab for sonarr/radarr) but haven't looked at (any) code for a looooong time. Will need some time to get back into it.

I have also updated the Bootstrap version 3.3.1 to the current v4.4.1 in the backup folder is the previous version

I think there have been some changes in the make up between bootstrap v3 and v4. Have to look into that aswell.

Also Font-awesome had updates and make up changes.

This almost seems to become a whole new project.
Let's just take it bit by bit and see how it comes together.. :-)

@Sweepr
Copy link
Collaborator

Sweepr commented Mar 15, 2020

Would be sad to see such good looking theme go to waste.

I know. But as you can see in master branch, it's been about 5-6 years since i last worked on this.
Still using spotweb (as newznab for sonarr/radarr) but haven't looked at (any) code for a looooong time. Will need some time to get back into it.

Luckily Spotweb hasn't changed much over the last years aswell, altough i did make some minor adjustments, i was surprised that much of the stuff was working out of the box so i think you did a pretty nice job there.

@Sweepr
Copy link
Collaborator

Sweepr commented Mar 15, 2020

On page ?page=editsettings the switch for Use different server for headers? isn't working but i haven't got a clue why.

Use different server for posting? just below that is working fine.

image

@Goeny
Copy link
Owner

Goeny commented Mar 15, 2020

Screenshot_22

Still running the retreiver.. Will take a look later tonight

@weis999
Copy link
Author

weis999 commented Mar 15, 2020

All right. Will try this next Saturday!

@Goeny
Copy link
Owner

Goeny commented Mar 20, 2020

Got it installed again. Unfortunately havent got the time to look into it yet.
Hope to have some news soon.

@Sweepr
Copy link
Collaborator

Sweepr commented Mar 20, 2020

@Goeny

That's great to hear, take your time, if you have some question feel free to ask.

@Sweepr
Copy link
Collaborator

Sweepr commented Apr 6, 2020

@Goeny , I do not want to push you or anything, but i was wondering of you have any news on this theme?

@STX2k
Copy link

STX2k commented Aug 18, 2020

I hope we can see a working theme ;) please keep up the work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants