elivz / vz_url

URL FieldType for ExpressionEngine with ajax validation
https://devot-ee.com/add-ons/vz-url-extension
Other
31 stars 4 forks source link

Deleting VZ URL extension files breaks website front end #8

Open jackbrighton opened 9 years ago

jackbrighton commented 9 years ago

I was using VZ URL for some time, but things started to get buggy after EE 2.5 so I changed my VZ URL fields to plain text fields, and disabled the extension. After disabling VZ URL, I deleted the files from my server. This totally broke the front end of my site, yielding this error:

Error Unable to load requested field type file: ft.vz_url.php. Confirm the fieldtype file is located in the expressionengine/third_party/ directory

My templates don't reference anything to do with VZ URL, so it looks like something in the database is looking for the above file. I'd like to resolve this so I can delete the extension files, just to keep things clean. Can you provide any guidance as to what the cause of this error is?

Thanks, Jack

elivz commented 9 years ago

Jack,

It sounds like the fieldtype didn't actually get completely uninstalled. Maybe you changed those fields to text field, but didn't actually uninstall it under Addons -> Fieldtypes, or clicked "uninstall" there but not the confirmation button on the next page. In any case, two ways to fix this:

  1. Look in the exp_fieldtypes table of your database. There will be a row there that references vz_url in the "name" column. Just delete that entire row.
  2. If you don't want to mess around in the database, copy the VZ URL add-on back onto your server, try uninstalling it again (or install and then uninstall, in case something go halfway uninstalled last time). Then you should be fine to delete it again.

Let me know if you have any more trouble.

jackbrighton commented 9 years ago

Hi Eli,

Thanks for getting back to me so quickly. I did uninstall VZ URL after changing my fields back to text, and before deleting the VZ URL files. There's no vz_url in the exp_fieldtypes table, as shown in the screenshot attached. Although, I was using a VZ URL field inside a Matrix field so it might not show there anyway.

One thing that might be worth trying it to update the VZ URL files, then install and uninstall the extension. I was on version 2.2.14 and I think the current version is 2.4.1? Just a thought so if you think it's wrong please let me know.

Or any other clues.:)

Thanks, Jack

On Sun, Dec 14, 2014 at 3:50 PM, Eli Van Zoeren notifications@github.com wrote:

Jack,

It sounds like the fieldtype didn't actually get completely uninstalled. Maybe you changed those fields to text field, but didn't actually uninstall it under Addons -> Fieldtypes, or clicked "uninstall" there but not the confirmation button on the next page. In any case, two ways to fix this:

1.

Look in the exp_fieldtypes table of your database. There will be a row there that references vz_url in the "name" column. Just delete that entire row. 2.

If you don't want to mess around in the database, copy the VZ URL add-on back onto your server, try uninstalling it again (or install and then uninstall, in case something go halfway uninstalled last time). Then you should be fine to delete it again.

Let me know if you have any more trouble.

— Reply to this email directly or view it on GitHub https://github.com/elivz/vz_url/issues/8#issuecomment-66931517.

Jack Brighton

jackbrighton commented 9 years ago

Forgot the screen shot...

On Mon, Dec 15, 2014 at 10:10 AM, Jack Brighton jackbrighton@gmail.com wrote:

Hi Eli,

Thanks for getting back to me so quickly. I did uninstall VZ URL after changing my fields back to text, and before deleting the VZ URL files. There's no vz_url in the exp_fieldtypes table, as shown in the screenshot attached. Although, I was using a VZ URL field inside a Matrix field so it might not show there anyway.

One thing that might be worth trying it to update the VZ URL files, then install and uninstall the extension. I was on version 2.2.14 and I think the current version is 2.4.1? Just a thought so if you think it's wrong please let me know.

Or any other clues.:)

Thanks, Jack

On Sun, Dec 14, 2014 at 3:50 PM, Eli Van Zoeren notifications@github.com wrote:

Jack,

It sounds like the fieldtype didn't actually get completely uninstalled. Maybe you changed those fields to text field, but didn't actually uninstall it under Addons -> Fieldtypes, or clicked "uninstall" there but not the confirmation button on the next page. In any case, two ways to fix this:

1.

Look in the exp_fieldtypes table of your database. There will be a row there that references vz_url in the "name" column. Just delete that entire row. 2.

If you don't want to mess around in the database, copy the VZ URL add-on back onto your server, try uninstalling it again (or install and then uninstall, in case something go halfway uninstalled last time). Then you should be fine to delete it again.

Let me know if you have any more trouble.

— Reply to this email directly or view it on GitHub https://github.com/elivz/vz_url/issues/8#issuecomment-66931517.

Jack Brighton

Jack Brighton

elivz commented 9 years ago

Hmmm, very strange. That exp_fieldtypes table is where fieldtypes are installed, so if VZ URL isn't showing up there, EE should never try to load it, and thus wouldn't throw an error when it can't be found. Whether the fields were in a Matrix or not doesn't matter for that. You could try updating it (or just installing and uninstalling again). Otherwise, if you want to create a login on the site for me (you can email me privately at eli@elivz.com), I'm happy to take a look later today and see if I can find anything amiss.