Clifford wrote:
I getting an error message that says ‘code 2 Photoshop undefined’ on my G4 mac with CS2
I’ve encountered that same problem here. Installed Photoshop CS2 on dozen computers, some with Panther (10.3.9), others with Tiger (10.4.2), and it always went like the following:
1. Logged in as Admin user, installed Photoshop CS2.
At that point I’ve checked version of the Bridge, which
was 1.0.0.545 (93460).
2. Launced Photoshop CS2 as Admin user, was asked whether I want to install current updates for Adobe Updater, and then for Bridge.
3. Proceeded with downloading/installing of all the updates. After everything was done checked Bridge’s version again – it was still the same.
4. Restarted Photoshop CS2. Everything worked as expected, including Bridge launch from within the Photoshop.
5. Logged out, then logged in as Standard user. Started Photoshop CS2. From within Photoshop tried to start the Bridge, and got this:
Error 2: photoshop is undefined
Line: 1
–> photoshop.invokeBridge (false, false, ");
At this point I thought: "well, sounds rather familiar! :-(" It reminded me about printing problems in Photoshop 5.5 running under Windows 2000 – Administrator can print, but others (even members of Power Users group) can’t do that until permissions got adjusted in the Windows registry.
Did some web surfing, found this Adobe Knowledgebase article –
http://www.adobe.com/support/techdocs/331561.html – which tries to shed some light. As it turned out, the only suggestion to download and install Bridge 1.0.2 was somewhat useful (everything else can be ignored as a waste of time, I think). And so I did, downloaded the Bridge102Mac.dmg file, installed Bridge 1.0.2.109 (95798). Then tried to run Photoshop again, but nothing changed – worked well for Admin, and popped up that same error message for Standard users.
As it turned out, it was necessary to change exactly one bit (an eighth part of a byte) – to set missing "allow directory search for others" on the Launch directory! To do the repair work log in as Admin user, open Terminal window, and the issue the following commands:
admin$ ls -ld /Library/Application\ Support/Adobe/Launch drwxrwxrw- 6 root admin 204 11 Aug 11:25
/Library/Application Support/Adobe/Launch
admin$ sudo chmod o+x /Library/Application\ Support/Adobe/Launch admin$ ls -ld /Library/Application\ Support/Adobe/Launch drwxrwxrwx 6 root admin 204 11 Aug 11:25
/Library/Application Support/Adobe/Launch
And that’s it! Re-login as Standard user, and you’ll be able to start Bridge from within Photoshop CS2.
—
andrei