Jump to content

Recommended Posts

Posted

Hi,

I installed solder, all is well but when i try to add a build to a Modpack i get this error:

Unhandled Exception

Message:

Error rendering view: [modpack.build.create]

Invalid argument supplied for foreach()
Location:

......../public_html/storage/views/4dda41708f15c997d04ab7d76114ba28 on line 27

I know thats is something with the minecraft version,

How can i fix this?

  • Discord Moderator
Posted

Hmm, I know I had to do some manual manipulation of the database contents when I first installed Solder to get around a problem. Wonder if it was related to what you are experiencing. So long ago my memory isn't behaving. I do know that when I had that (or a similar) problem I just went into the code and saw what it was looking for and massaged the database to make it work the first time, after which I had no more problems.

Posted (edited)

Ok i know thats it is the minecraft version of the modpack its calls all the minecraft version from the Minecraft Version API http://www.technicpack.net/api/minecraft 

Here i have the  Stack Trace: from the error:

C:/whatever/host/ <----------- This is the rootSolder in the code 

c:/whatever/host/public_html/ <-------------- This is a example where i have my solder

#0 ......./public_html/laravel/laravel.php(42): LaravelError::native(2, 'Invalid argumen...', 'rootSolder...', 27)
#1 ......./public_html/laravel/view.php(386) : eval()'d code(27): Laravel{closure}(2, 'Invalid argumen...', 'rootSolder...', 27, Array)
#2 ......./public_html/laravel/view.php(386): eval()
#3 ......./public_html/laravel/blade.php(71): LaravelView->get()
#4 [internal function]: Laravel{closure}(Object(LaravelView))
#5 ......./public_html/laravel/event.php(199): call_user_func_array(Object(Closure), Array)
#6......./public_html/laravel/event.php(138): LaravelEvent::fire('laravel.view.en...', Array, true)
#7 ......./public_html/laravel/view.php(348): LaravelEvent::until('laravel.view.en...', Array)
#8......./public_html/laravel/view.php(590): LaravelView->render()
#9 ......./public_html/laravel/response.php(268): LaravelView->__toString()
#10 ......./public_html/laravel/laravel.php(180): LaravelResponse->render()
#11 ......./public_html/public/index.php(34): require('rootSolder...')
#12 {main}
Edited by peti446
  • Discord Moderator
Posted

Are you sure the server you are running Solder on is retrieving that file correctly? You might try doing a wget on that URL from the server just to make a sanity check.

  • Discord Moderator
Posted

Try copying this and executing it:

wget -O mcversions.json http://www.technicpack.net/api/minecraft

That worked fine for me and should for you.

  • Discord Moderator
Posted (edited)

If you are unable to copy & paste that full command above and have it complete successfully you have something else going on that is getting in the way of communication with Technic's servers/services and is unrelated to Solder specifically. The big question is what is getting in the way and how can it be resolved.

Edited by plowmanplow
  • Discord Moderator
Posted

which makes little sense unless you aren't using the correct URL or something. If it were me I would put a sniffer on the line and see exactly what is going on with the data between you and Technic's servers.

  • Discord Moderator
Posted

If you bring up a problem with your host, and they verify that it is indeed their problem and then say, "meh". You probably should find another host.

  • Discord Moderator
Posted

How about that! Glad it's working and that your host was responsive to an uncommon request like that. Would you mind saying which host you use? Always good to hear about a host that is doing things well and being responsive.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...