This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

TallonAM
TallonAM

Having looked this over deeply now, I have found the error; however I don't know where the values are set from and no idea where I can fix this.

Out of the box, if I load OctoberCMS set my data in the database, cms, and app config files, october:up, and then attempt to login as admin:admin I get past the login page and get an error of "Class path.uploads does not exist". I've traced this down to a call in october/rain/src/Support/helpers.php calling for function "uploads_path". When I've checked the app() data I have found that path.uploads has not been set, resulting in the error.

I have wiped out the entire directory and installed three times now with no plugins or any other code and every time I get this error. Is there a missing assignment somewhere in the current version? Did I get a bad code set from composer? Is there a fix I can put in place to ensure this is loading properly?

Thank you in advance, Andrew

TallonAM
TallonAM

Upon further investigation and poking around, I can get anywhere on the backend from direct url input, except the index/dashboard page. I'm not sure why this is the case, but I thought I would add more info.

TallonAM
TallonAM

OK, this is was apparently a timing / composer cache / github thing. I checked the updates for today directly in github with respect to these files and function calls. 11 hours ago the changes I'm having trouble with were made. That would correlate directly with the time I started all this non sense.

Short version: Ignore this post. it is a non issue and comes down to bad luck/timing.

pikusfikus
pikusfikus

Up, I also have this issue. How could I solve it?

TallonAM
TallonAM

My suggestion to you is the same thing I found. You are probably running the absolute latest and greatest version updating with the dev code. In your cms.php config file set 'edgeUpdates' to false You will need to update or clear the current code out to get the current 'stable' release instead of day by day updates from the development system.

I found it was all because of backend changes that were quickly fixed, but I had managed to update at the exact wrong time and pulled bad code down.

chris10207
chris10207

i have same issue even with edgeupates set to false

chris10207
chris10207

an alternative to the helper upload_path() would be this

        $uploadsPath = Config::get('cms.storage.uploads.path', '/storage/app/uploads');

1-7 of 7

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.