Jump to content

Recommended Posts

Posted

'Okay, I changed it to that, and I'm getting a 500 error now when trying to login... ( W:xampphtdocsTechnicSolderapplibrariesUpdateUtils.php:124) also, when trying to look at the api I see this:

 {"api":"TechnicSolder","version":"","stream":"DEV"} 
  • Discord Moderator
Posted

The fact that the JSON response is missing the version number (it's blank) indicates that either the platform isn't connecting to the database properly, that the database is not set up correctly, or something isn't configured correctly. Other than to state the obvious, that you did not properly follow the installation procedures, I'm not sure what else to suggest. I'm not trying to be snarky or critical. I followed the instructions precisely as written on a new installation for WIndows and everything worked as expected, but I have decades of application deployment experience so I may be subconsciously doing something not specified in the instructions.

Posted (edited)

okay, so after installing it (in those steps I wrote above) I get this when I try to login in..

 

 

exception 'ErrorException' with message 'Undefined offset: 1' in W:xampphtdocsTechnicSolderapplibrariesUpdateUtils.php:124
Stack trace:
#0 W:xampphtdocsTechnicSolderapplibrariesUpdateUtils.php(124): IlluminateExceptionHandler->handleError(8, 'Undefined offse...', 'W:xampphtdocs...', 124, Array)
#1 W:xampphtdocsTechnicSolderapplibrariesUpdateUtils.php(81): UpdateUtils::getLocalChangeLog()
#2 W:xampphtdocsTechnicSolderappcontrollersDashboardController.php(16): UpdateUtils::getChangeLog()
#3 [internal function]: DashboardController->getIndex()
#4 W:xampphtdocsTechnicSoldervendorlaravelframeworksrcIlluminateRoutingController.php(231): call_user_func_array(Array, Array)
#5 W:xampphtdocsTechnicSolderbootstrapcompiled.php(5834): IlluminateRoutingController->callAction('getIndex', Array)
#6 W:xampphtdocsTechnicSolderbootstrapcompiled.php(5822): IlluminateRoutingControllerDispatcher->call(Object(DashboardController), Object(IlluminateRoutingRoute), 'getIndex')
#7 W:xampphtdocsTechnicSolderbootstrapcompiled.php(5027): IlluminateRoutingControllerDispatcher->dispatch(Object(IlluminateRoutingRoute), Object(IlluminateHttpRequest), 'DashboardContro...', 'getIndex')
#8 [internal function]: IlluminateRoutingRouter->IlluminateRouting{closure}()
#9 W:xampphtdocsTechnicSolderbootstrapcompiled.php(5385): call_user_func_array(Object(Closure), Array)
#10 W:xampphtdocsTechnicSolderbootstrapcompiled.php(5052): IlluminateRoutingRoute->run(Object(IlluminateHttpRequest))
#11 W:xampphtdocsTechnicSolderbootstrapcompiled.php(5040): IlluminateRoutingRouter->dispatchToRoute(Object(IlluminateHttpRequest))
#12 W:xampphtdocsTechnicSolderbootstrapcompiled.php(715): IlluminateRoutingRouter->dispatch(Object(IlluminateHttpRequest))
#13 W:xampphtdocsTechnicSolderbootstrapcompiled.php(696): IlluminateFoundationApplication->dispatch(Object(IlluminateHttpRequest))
#14 W:xampphtdocsTechnicSolderbootstrapcompiled.php(7812): IlluminateFoundationApplication->handle(Object(IlluminateHttpRequest), 1, true)
#15 W:xampphtdocsTechnicSolderbootstrapcompiled.php(8419): IlluminateSessionMiddleware->handle(Object(IlluminateHttpRequest), 1, true)
#16 W:xampphtdocsTechnicSolderbootstrapcompiled.php(8366): IlluminateCookieQueue->handle(Object(IlluminateHttpRequest), 1, true)
#17 W:xampphtdocsTechnicSolderbootstrapcompiled.php(11029): IlluminateCookieGuard->handle(Object(IlluminateHttpRequest), 1, true)
#18 W:xampphtdocsTechnicSolderbootstrapcompiled.php(657): StackStackedHttpKernel->handle(Object(IlluminateHttpRequest))
#19 W:xampphtdocsTechnicSolderpublicindex.php(49): IlluminateFoundationApplication->run()
#20 {main}

Edited by FrostyZaij
  • Discord Moderator
Posted

If you open a command prompt in the top level solder folder (where the app, bootstrap, etc. folders are located) and type:

git log

Do you get the changlog, or does the command fail?

Posted (edited)

I get some text saying

 

"commit 16351adba696d4c09d586c2f4747729bf74be11d
author: genpage <some e-mail adress>
Date: Sun Jan 4 01:15:21 2015 -0500

added help-blocks that the donation field is currently only used by official" something

 

and a few more of that, I guess that is the changelog right?

Edited by FrostyZaij
  • Discord Moderator
Posted

Correct. The error you are getting is being generated because the code parsing the formated log output (around line 124 in UpdateUtils.php) is failing to explode the output correctly and the array index isn't what's expected. However, This may be because you have one of the path setting misconfigured or something is being mis-detected and the git command is running from the wrong location. Might be time to take this to the IRC channel and ask GenPage.

Posted

I'll try to reinstall everything and see if that helps, should I install all the programs on my C drive instead of the W one I use now?  and setup the locations that I host from on my W drive? I also, doubt they will help me with a windows installation since in the Wiki it says it is not supported.. :/

  • Discord Moderator
Posted

It shouldn't matter at all where things are located. I have Apache (yes, I know they recommend Nginx) and PHP in the root of C: (C:Apache2, C:PHP) and the DocumentRoot in D:Downloadssolder. The locations are all relative.

Posted

Okay, that is good to know, I thought that it maybe had something to do with that, maybe the firewall or something is blocking it? I saw a thing on the issues site that it was someone having almost the same problem and it was the host blocking something, I'll try to disable the firewall and the Anti-virus software and see if it works then...

  • 2 weeks later...
Posted

The reason for the "Undefined offset: 1" error is due to the fact that the git command Solder is trying to execute through PHP is not returning what it is suppose to. I have code in development to rectify this issue and many others. I'd like to note that Windows is not supported, meaning that support is not guaranteed for Solder on the Windows operating system. I have decided not to pursue Windows compatibility testing until later down the road to save myself the stress of trying to fix so many bugs.

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...