Goeny / BootSpot

Bootstrap Theme for Spotweb
7 stars 1 forks source link

Uncaught Error: Class 'SpotTemplateHelper_Bootspot' #2

Open weis999 opened 4 years ago

weis999 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

@weis999

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

Sweepr commented 4 years ago

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 commented 4 years ago

Previews:

image

image

Goeny commented 4 years ago

@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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

Sweepr commented 4 years ago

I have pushed my local changes into Develop branch: https://github.com/Goeny/BootSpot/commit/3f5b33f5d2595608804c4fc2f5660a2cad3a5855

Goeny commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

Screenshot_22

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

weis999 commented 4 years ago

All right. Will try this next Saturday!

Goeny commented 4 years ago

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

Sweepr commented 4 years ago

@goeny

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

Sweepr commented 4 years ago

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

STX2k commented 4 years ago

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